body {
    background: url(/images/book_backgrounds/green.webp) no-repeat;
    background-size: cover;
}

.syncer {
    padding-left: 24px;
    padding-right: 24px;
    color: #1B1A19;
    font-weight: 500;
}

.syncer h1,
.syncer h2,
.syncer h3,
.syncer h4 {
    margin-top: 0.75em;
    margin-bottom: 0.5em;
}

.syncer header.label-sticker {
    text-align: center;
}


.syncer .form-group {
    margin-bottom: 10px;
}

.syncer label {
    margin-bottom: 10px;
    display: block;
}

.syncer .syncer-options {
    margin: 0 auto;
    padding-left: 12px;
    padding-right: 12px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 12px;
}

.syncer .syncer-option {
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    height: 80px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    transition-property: all;
    transition-duration: 0.2s;
    transition-timing-function: ease;
    outline-color: orange;
    outline-style: solid;
    outline-width: 0;
    opacity: 0.5;
}

.syncer a.syncer-option {
    opacity: 1;
}

.syncer .syncer-option:hover {
    transform: scale(1.05);
}

.syncer .syncer-option:active {
    outline-width: 3px;
}

.syncer .syncer-option img.logo {
    height: 50px;
    width: 50px;
    object-fit: fit;
    display: block;
    flex-basis: 80px;
}

.syncer .syncer-option img.chevron {
    display: block;
    flex-basis: 48px;
}

.syncer .syncer-option div {
    flex: 1;
    font-size: 18px;
    font-weight: 500;
    text-align: left;
}

.syncer h3.reference {
    letter-spacing: 0.05em;
    background-color: white;
    padding: 0.5em 1em;
    border-radius: 9999px;
    display: inline-block;
}

.syncer .label {
    flex: 1;
}

.syncer .alert.alert-danger {
    color: red;
    font-weight: bold;
    margin-bottom: 10px;
}

.syncer input[type='url'],
.syncer input[type='text'],
.syncer input[type='email'],
.syncer input[type='password'] {
    width: 100%;
    border: 0;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 16px;
    outline: none;
    background-color: #DCEBE3;
    transition: border-color 0.3s ease;
}

.syncer .cardinstructions {
    text-align: left;
    margin-top: 8px;
    margin-bottom: 10px;
}

.syncer .card {
    margin-top: 24px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 12px 8px;
}

.syncer .instructions {
    text-align: left;
    padding-top: 30px;
    padding-bottom: 26px;
    padding-left: 33px;
    font-size: 20px;
}

.syncer .glass {
    background-color: rgba(251, 251, 251, 0.65);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    margin-top: 34px;
}

.syncer .butt {
    padding: 12px 24px;
    background: #FFD858;
    color: #000000;
    border: none;
    border-radius: 100px;
    font-size: 16px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    width: 177px;
    transition: background-color 0.3s ease;
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.syncer .butt.wide {
    width: 100%;
}

.syncer .label-sticker-code {
    font-size: 16px;
    margin-top: 34px;
    margin-bottom: 8px;
}

.syncer .syncer-container {
    max-width: 375px;
    margin-left: auto;
    margin-right: auto;
}

.syncer-top-bar {
    max-width: 375px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
}

.syncer-top-bar .syncer-logo {
    flex: 1;
    text-align: center;
}

.syncer-top-bar .syncer-avatar {
    background: none;
    border: 0;
    text-decoration: none;
    cursor: pointer;
}

.syncer-top-bar .syncer-avatar img {
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
}


.syncer .popup {
    margin-top: 24px;
    background-color: white;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    padding: 16px;
    text-align: left;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.syncer .wrongtype {
    margin-top: 24px;
    background-color: white;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    padding: 16px;
    text-align: left;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.syncer .popup-title {
    font-size: 20px;
    font-weight: 500;
    text-align: left;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid #D6D6D6;
}

.syncer .popup-content-desc {
    font-size: 12px;
    color: #AFAFAF;
}

.syncer .popup-meta {
    display: flex;
    flex-direction: row;
    gap: 16px;
}

.syncer .popup-img {
    width: 85px;
    height: 85px;
    object-fit: contain;
    border-radius: 8px;
}

/* Sticker list styles */
.sticker-list {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

.sticker-item {
    background: white;
    border: 2px solid #1B1A19;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    text-align: left;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sticker-image {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 8px;
    float: right;
    margin-left: 16px;

}

.sticker-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(27, 26, 25, 0.1);
}

.sticker-reference h4 {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 12px 0;
    color: #1B1A19;
    font-family: 'Teachers', serif;
}

.sticker-header {
    display: flex;
}

.sticker-header>div {
    flex: 1;
}

.sticker-date {
    color: #aaa;
    text-align: right;
}

.sticker-item h3 {
    font-size: 24px;
    font-weight: bold;
    margin: 0 0 12px 0;
    color: #1B1A19;
    font-family: 'Teachers', serif;
}

.sticker-details {
    margin-bottom: 16px;
    margin-top: 16px;
}

.sticker-book {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 4px 0;
    color: #1B1A19;
}

.sticker-author {
    font-size: 14px;
    color: #666;
    margin: 0 0 8px 0;
}

.sticker-url {
    font-size: 16px;
    margin: 0 0 8px 0;
}

.sticker-url a {
    color: #4BC6AE;
    text-decoration: none;
    word-break: break-all;
}

.sticker-url a:hover {
    text-decoration: underline;
}

.sticker-type {
    font-size: 16px;
    color: #666;
    margin: 0 0 8px 0;
    font-style: italic;
}

.sticker-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.sticker-link,
.sticker-nfc {
    padding: 8px 16px;
    background: #4BC6AE;
    color: white;
    text-decoration: none;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.sticker-link:hover,
.sticker-nfc:hover {
    background: #43b29d;
    color: white;
    text-decoration: none;
}

.sticker-nfc {
    background: #F9902B;
}

.sticker-nfc:hover {
    background: #e88526;
}

.empty-state {
    max-width: 400px;
    margin: 0 auto;
    padding: 40px 20px;
}

.empty-state .lead {
    font-size: 18px;
    margin-bottom: 12px;
    color: #666;
}

.empty-state p {
    color: #999;
    font-size: 14px;
}

.back-link {
    margin-top: 32px;
    text-align: center;
}

.back-link a {
    color: #4BC6AE;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
}

.back-link a:hover {
    text-decoration: underline;
}

.forgot-password-group {
    margin-top: 10px;
}

.forgot-password-group a {
    color: #386751;
    text-decoration: none;
    display: block;
    margin-top: 10px;
}

.avatar-initials {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    color: black;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mb-3 {
    margin-bottom: 16px;
}