#locker {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 0;
    border: 2px solid black;
    z-index: 2147483647;
    overflow-y: auto; 
}

#locker-content {
    width: 500px;
    background: white;
    color: black;
    padding-top: 10px;
    margin: 0 auto;
    border: 1px solid black;
    border-radius: 6px;

    max-height: none;
    overflow: visible;
}



#locker-content::-webkit-scrollbar {
    display: none;
}

#locker-content img {
    width: 90%;
    margin: 2px auto;
    display: block;
}

.offer {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    font-weight: 600;
    font-size: 18px;

    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #ffffff;

    padding: 12px;
    margin: 8px auto;
    width: calc(100% - 8px);
    min-height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    border-radius: 12px;
    text-decoration: none;

    cursor: pointer;


    transition: all 0.18s ease;
}

.offer:hover {
    transform: translateY(-2px);
}


.offer:active {
    transform: scale(0.97);
}

.offer:visited,
.offer:focus {
    color: #ffffff;
}

#offers {
    width: 100%;
    text-align: center;
}

.offers {
    text-align: center;
    padding: 20px;
    color: black;      
    font-size: 18px;
}

.loading {
    width: 100%;
    text-align: center;
    color: black;      
    font-size: 20px;
}

.no-offers {
    text-align: center;
    padding: 20px;
    color: black;      
    font-size: 18px;
}

#content { 
    display: none; 
}

.spc {
    margin-bottom: 30px;
}

.loader2 {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px auto;
    border-radius: 50%;
    position: relative;
}

.loader2::before,
.loader2::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
}

.loader2::before {
    border: 6px solid rgba(52, 152, 219, 0.2);
}

.loader2::after {
    border: 6px solid #3498db;
    border-top-color: transparent;
    animation: spin 1s linear infinite, pulse 1.5s ease-in-out infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 🔹 TABLET & MOBILE */
@media (max-width: 768px) {

    #locker-content {
        width: calc(100% - 8px);
        margin: 0 4px;
        padding-top: 10px;
    }

}

/* 🔹 MOBILE SMALL */
@media (max-width: 480px) {

    .offer {
        font-size: 14px;
        min-height: 35px;
    }

}

#completion-status {
    margin-top: 15px;
    text-align: center;
}

.waiting-text {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    font-size: 1rem;
    margin-bottom: 10px;
    font-weight: 600;
    padding: 0 2px;
    text-align: center;
}

.loading-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
    margin-bottom: 15px;
}

.loading-dots span {
    width: 14px;
    height: 14px;
    background: #26c302;
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}

.loading-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.loading-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.4;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

.locker-heading {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;      
    font-weight: 600;      
    text-align: center;
    padding: 0 2px;
    color: #1c242e;
    margin: 0;
}

.l-heading-container {
    background-color: #ffb902;
    flex-direction: column;
    border-top: 2px groove #e09e00;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    
    width: 100%;
    margin: 10px auto 20px;
    
    min-height: 60px; 
    height: auto; 
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.locker-heading .highlight {
    color: #3498db;           
    font-weight: 900;
}

.spinner-loader {
  margin: 0 auto;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 6px solid rgba(0, 0, 0, 0.1);
  border-top-color: #2ecc71;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.locker-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem;      
    font-weight: 600;      
    text-align: center;
    padding: 0 2px;
    color: #1c242e;
    margin: 0 0 10px 0; 
}

.locker-badge {
    background: #ffffff;
    color: #f2a900;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.45);
    padding: 6px 16px;
    border-radius: 999px;

    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;      
    font-weight: 700;      
    text-align: center;

    box-shadow: 0 4px 10px rgba(0,0,0,0.08);

    margin-bottom: 10px;
}