/* Extension of main style.css */
.custom-theme {
    background-color: #FFFFFF !important;
}

.custom-title {
    font-size: 1.5rem !important;
    font-weight: 800;
}

.custom-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
}

.custom-pass {
    background: #ECFDF5;
    color: #059669;
}

.custom-fail {
    background: #FEF2F2;
    color: #DC2626;
}

/* Upload Area specific adjustments */
.upload-area {
    margin-bottom: 25px;
}

#sg-free-file-input {
    display: none;
}

#sg-free-image-preview {
    max-width: 100%;
    max-height: 280px;
    object-fit: contain;
    border-radius: 20px;
    background: #f8f6f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Loading Box specific adjustments */
.scan-box {
    width: 260px;
    height: 340px;
    background-color: #000;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.scan-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

/* Share specific adjustments */
.share-container {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.share-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    border: 1px solid #eee;
    background: white;
    border-radius: 12px;
}

.share-btn:hover {
    border-color: #E0C8B1 !important;
    background: #F8F6F0 !important;
}

.share-btn span {
    font-size: 1.2rem;
}

.pulse {
    animation: pulseWarm 2s infinite;
}

@keyframes pulseWarm {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(224, 200, 177, 0.5);
    }

    70% {
        transform: scale(1.03);
        box-shadow: 0 0 0 10px rgba(224, 200, 177, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(224, 200, 177, 0);
    }
}