@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: #030712; /* Dark solid background for auth */
    background-image: radial-gradient(circle at top right, rgba(37, 99, 235, 0.1), transparent),
                      radial-gradient(circle at bottom left, rgba(59, 130, 246, 0.05), transparent);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    margin: 0;
}

.auth-container {
    width: 100%;
    max-width: 440px;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.7);
    position: relative;
    z-index: 10;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-logo {
    width: 180px;
    margin-bottom: 20px;
}

.auth-title {
    color: white;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 5px;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #475569;
    font-size: 16px;
}

.auth-input {
    width: 100%;
    height: 52px;
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 12px;
    padding: 0 50px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.auth-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    background: #1e293b;
}

.auth-input::placeholder {
    color: #475569;
}

.password-toggle {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #475569;
    cursor: pointer;
    font-size: 16px;
    transition: color 0.2s;
}

.password-toggle:hover {
    color: #94a3b8;
}

.flex-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.auth-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}

.auth-checkbox input {
    width: 18px;
    height: 18px;
    accent-color: #2563eb;
}

.auth-link {
    color: #2563eb;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
}

.auth-link:hover {
    text-decoration: underline;
}

.auth-btn {
    width: 100%;
    height: 52px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 20px -6px rgba(37, 99, 235, 0.4);
}

.auth-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px -8px rgba(37, 99, 235, 0.5);
}

.auth-btn:active {
    transform: translateY(0);
}

.auth-footer {
    text-align: center;
    margin-top: 30px;
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
}

.copyright {
    text-align: center;
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    color: #334155;
    font-size: 11px;
    font-weight: 500;
}

.split-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

@media (max-width: 480px) {
    body { padding: 15px; align-items: flex-start; padding-top: 40px; }
    .auth-container {
        padding: 30px 20px;
        border-radius: 20px;
    }
    .auth-logo { width: 140px; }
    .auth-title { font-size: 20px; }
    .split-inputs { grid-template-columns: 1fr; gap: 0; }
    .copyright { position: static; margin-top: 30px; margin-bottom: 30px; }
    .modal-content { max-height: 70vh; padding: 20px; }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 7, 18, 0.9);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 99999;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: #1e293b;
    width: 100%;
    max-width: 600px;
    max-height: 80vh;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.modal-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    color: white;
    font-size: 18px;
    font-weight: 800;
}

.modal-close {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: #94a3b8;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-close:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.modal-body {
    overflow-y: auto;
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.8;
    padding-right: 10px;
}

.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 10px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}


