﻿/* ================================================================
   FIRELAX - Auth Pages (Login/Register) - Modern Split Layout
   ================================================================
   Premium Sport Supplements Shop - Dark Theme + Orange Accent
   Glassmorphism, kompakt, DSGVO-konform, Desktop First
   
   Diese Datei ist identisch mit account-login.css für
   einheitliches Styling über Login & Register hinweg.
   ================================================================ */

/* Import der Haupt-Auth-Styles */
@import url('account-login.css');
    color: #1a1d23;
}

.firelax-register-header small {
    display: block;
    margin-top: 0.35rem; /* Reduced from 10px */
    opacity: 0.85;
    color: #1a1d23;
    font-size: 0.875rem;
}

/* Body - optimized padding */
.firelax-register-body {
    padding: 1.5rem 1.75rem; /* Reduced from 40px 30px */
}

/* Form Groups - compact spacing */
.firelax-register-body .firelax-form-group {
    margin-bottom: 0.875rem; /* Reduced from 20px */
    position: relative;
}

.firelax-register-body .firelax-form-group label {
    display: block;
    margin-bottom: 0.4rem; /* Reduced from 8px */
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.8125rem; /* Smaller labels */
}

.firelax-register-body .firelax-form-group input[type="text"],
.firelax-register-body .firelax-form-group input[type="email"],
.firelax-register-body .firelax-form-group input[type="password"] {
    width: 100%;
    padding: 0.625rem 0.875rem; /* Reduced from 12px 15px */
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.875rem; /* Slightly smaller text */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    color: #2c3e50;
}

.firelax-register-body .firelax-form-group input:focus {
    outline: none;
    border-color: #feaf39;
    box-shadow: 0 0 0 3px rgba(254, 175, 57, 0.12);
}

.firelax-register-body .firelax-form-group input::placeholder {
    color: #adb5bd;
    font-size: 0.8125rem;
}

/* Two-column row spacing */
.firelax-register-body .row {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
}

.firelax-register-body .row > [class*='col'] {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

/* Password Toggle - modern positioning */
.firelax-register-body .firelax-password-group {
    position: relative;
}

.firelax-register-body .firelax-pw-toggle {
    position: absolute;
    right: 8px;
    top: 30px; /* Adjusted for smaller label */
    background: none;
    border: none;
    color: #9aa0a6;
    cursor: pointer;
    font-size: 0.9375rem;
    padding: 0.375rem;
    transition: color 0.2s;
}

.firelax-register-body .firelax-pw-toggle:hover {
    color: #feaf39;
}

/* Checkbox - compact */
.firelax-register-body .firelax-checkbox {
    display: flex;
    align-items: flex-start;
    margin: 0.75rem 0; /* Reduced from 15px */
}

.firelax-register-body .firelax-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    min-width: 16px;
    margin-right: 0.5rem;
    margin-top: 2px;
    accent-color: #feaf39;
    cursor: pointer;
}

.firelax-register-body .firelax-checkbox label {
    margin: 0;
    color: #2c3e50;
    font-size: 0.8125rem; /* Smaller checkbox labels */
    cursor: pointer;
    line-height: 1.4;
}

.firelax-register-body .firelax-checkbox a {
    color: #feaf39;
    font-weight: 600;
    text-decoration: none;
}

.firelax-register-body .firelax-checkbox a:hover {
    text-decoration: underline;
}

/* Submit Button - modern */
.firelax-register-body .firelax-submit-btn {
    width: 100%;
    padding: 0.875rem; /* Reduced from 14px */
    background: linear-gradient(135deg, #feaf39 0%, #f59e0b 100%);
    color: #1a1d23;
    border: none;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 0.875rem; /* Reduced from 15px */
    box-shadow: 0 2px 8px rgba(254, 175, 57, 0.25);
}

.firelax-register-body .firelax-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(254, 175, 57, 0.35);
}

.firelax-register-body .firelax-submit-btn i {
    margin-right: 0.5rem;
}

/* Login Link - compact */
.firelax-login-link {
    text-align: center;
    margin-top: 1.25rem; /* Reduced from 25px */
    padding-top: 1.25rem; /* Reduced from 25px */
    border-top: 1px solid #e5e7eb;
    color: #6c757d;
    font-size: 0.875rem;
}

.firelax-login-link a {
    color: #feaf39;
    font-weight: 600;
    text-decoration: none;
}

.firelax-login-link a:hover {
    text-decoration: underline;
}

/* Alerts - modern */
.firelax-register-body .firelax-alert-danger {
    background: #fff5f5;
    border: 2px solid #fed7d7;
    border-radius: 10px;
    padding: 0.875rem 1rem; /* Reduced from 15px */
    margin-bottom: 1rem; /* Reduced from 20px */
    color: #c53030;
    font-size: 0.8125rem;
}

.firelax-register-body .firelax-alert-danger div {
    margin-bottom: 0.375rem; /* Reduced from 5px */
}

.firelax-register-body .firelax-alert-danger div:last-child {
    margin-bottom: 0;
}

.firelax-register-body .firelax-alert-danger i {
    margin-right: 0.5rem;
}

.validation-error {
    color: #dc3545;
    font-size: 0.75rem; /* Reduced from 12px */
    margin-top: 0.25rem; /* Reduced from 5px */
    display: block;
}

/* Password Hint & Info Text */
.password-hint,
.text-muted {
    font-size: 0.75rem !important; /* Reduced from 12px */
    color: #6c757d !important;
    margin-top: 0.25rem !important; /* Reduced from 5px */
    display: block;
}

/* DSGVO Notice - new */
.firelax-dsgvo-notice {
    background: #f8f9fa;
    border-left: 3px solid #feaf39;
    padding: 0.875rem 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    font-size: 0.8125rem;
    color: #495057;
    line-height: 1.5;
}

.firelax-dsgvo-notice i {
    color: #feaf39;
    margin-right: 0.5rem;
}

.firelax-dsgvo-notice a {
    color: #feaf39;
    text-decoration: none;
    font-weight: 600;
}

.firelax-dsgvo-notice a:hover {
    text-decoration: underline;
}

/* Footer Links */
.auth-footer-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    font-size: 0.75rem;
    color: #9aa0a6;
}

.auth-footer-links a {
    color: #6c757d;
    text-decoration: none;
}

.auth-footer-links a:hover {
    color: #feaf39;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 576px) {
    .firelax-register-card {
        margin: 0.625rem;
        max-width: 100%;
    }
    
    .firelax-register-body {
        padding: 1.25rem 1rem;
    }
    
    .firelax-register-header {
        padding: 1.25rem 1rem;
    }
    
    .firelax-register-header h3 {
        font-size: 1.375rem;
    }

    /* Stack columns on mobile */
    .firelax-register-body .row {
        margin-left: 0;
        margin-right: 0;
    }

    .firelax-register-body .row > [class*='col'] {
        padding-left: 0;
        padding-right: 0;
    }
}

/* High-resolution optimization (?1366px height) */
@media (min-height: 1366px) {
    .firelax-register-wrapper {
        padding: 2.5rem 1rem;
    }
}

