/* Container Box */
#rcs-moogold-fields {
    margin-bottom: 18px;
    padding: 15px;
    border-radius: 12px;
    background: linear-gradient(145deg, #111827, #1f2937);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(255, 223, 0, 0.15);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* Light Theme Support */
@media (prefers-color-scheme: light) {
    #rcs-moogold-fields {
        background: #ffffff;
        border: 1px solid #e0e0e0;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    }
}

/* Labels */
#rcs-moogold-fields label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #f9fafb;
    font-size: 15px;
}

/* Light Mode Text */
@media (prefers-color-scheme: light) {
    #rcs-moogold-fields label {
        color: #111827;
    }
}

/* Input Fields */
#rcs-moogold-fields input[type="text"] {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: #f9fafb;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
    caret-color: #facc15; /* yellow caret */
}

/* Light Mode Inputs */
@media (prefers-color-scheme: light) {
    #rcs-moogold-fields input[type="text"] {
        background: #f8f9fa;
        border: 1px solid #d1d5db;
        color: #111827;
        caret-color: #111827;
    }
}

/* Input Focus Glow */
#rcs-moogold-fields input[type="text"]:focus {
    border-color: #facc15;
    box-shadow: 0 0 8px #facc15;
}

/* ✅ Fix background turning black on paste/autofill */
#rcs-moogold-fields input:-webkit-autofill,
#rcs-moogold-fields input:-webkit-autofill:hover,
#rcs-moogold-fields input:-webkit-autofill:focus,
#rcs-moogold-fields input:-internal-autofill-selected {
    background-color: rgba(255, 255, 255, 0.05) !important;
    -webkit-box-shadow: 0 0 0px 1000px rgba(255, 255, 255, 0.05) inset !important;
    -webkit-text-fill-color: #f9fafb !important;
    transition: background-color 9999s ease-in-out 0s;
}

/* Light Mode Autofill Fix */
@media (prefers-color-scheme: light) {
    #rcs-moogold-fields input:-webkit-autofill,
    #rcs-moogold-fields input:-webkit-autofill:hover,
    #rcs-moogold-fields input:-webkit-autofill:focus {
        background-color: #f8f9fa !important;
        -webkit-box-shadow: 0 0 0px 1000px #f8f9fa inset !important;
        -webkit-text-fill-color: #111827 !important;
    }
}

/* Check Button */
#rcs-moogold-check-btn {
    background: linear-gradient(90deg, #facc15, #eab308);
    color: #111;
    font-weight: 600;
    border: none;
    padding: 6px 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
}

#rcs-moogold-check-btn:hover {
    box-shadow: 0 0 10px #facc15a8;
    transform: translateY(-1px);
}

/* IGN Result */
#rcs-moogold-ign-result {
    margin-left: 10px;
    font-weight: 600;
    color: #22d3ee;
    font-size: 15px;
}

/* Light Mode IGN Color */
@media (prefers-color-scheme: light) {
    #rcs-moogold-ign-result {
        color: #0284c7;
    }
}
