/* 1. Reset Page and Force Light Mode Context */
body, .wrap {
    background-color: #ffffff !important;
    color: #000000 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    color-scheme: light !important;
}

/* 2. Container Styling */
.form-wrap {
    max-width: 500px !important;
    margin: 40px auto !important;
    padding: 2rem !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
}

/* 3. Header & Text */
h2, h3 {
    color: #0f172a !important;
    font-weight: 800 !important;
    letter-spacing: -0.025em !important;
}

/* 4. Inputs - Fixing the Dark Mode/Autofill bug */
input[type="text"], 
input[type="email"] {
    width: 100% !important;
    padding: 12px 16px !important;
    margin-bottom: 16px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    background-color: #ffffff !important;
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important; /* Force black text */
    outline: none !important;
}

input:focus {
    border-color: #000000 !important;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.1) !important;
}

/* 5. Checkboxes and Categories */
.list-group {
    margin-top: 24px !important;
}

.list-item {
    display: flex !important;
    align-items: flex-start !important;
    margin-bottom: 16px !important;
}

.list-label {
    font-weight: 600 !important;
    font-size: 14px !important;
    color: #0f172a !important;
}

.list-desc {
    color: #64748b !important;
    font-size: 12px !important;
    display: block !important;
    margin-top: 2px !important;
}

/* 6. The Button */
button[type="submit"], 
.btn {
    width: 100% !important;
    background-color: #0f172a !important;
    color: #ffffff !important;
    padding: 12px !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

button[type="submit"]:hover {
    background-color: #000000 !important;
    transform: translateY(-1px) !important;
}

/* 7. Hide "Powered by Listmonk" if desired for brand focus */
footer {
    display: none !important;
}

.logo {
    display: none !important;
}