/* templates/accounts/register.html — μεταφέρθηκε από inline <style> (extract_inline_css). Κοινά στοιχεία: eteron_ui.css */
/* Match login page background */
body {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #3d3d3d 100%) !important;
    min-height: 100vh;
}

.main-content {
    background: transparent !important;
}

/* Override the blue auth-container background to match login page */
.auth-container {
    background: transparent !important;
}

.auth-container::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="auth-pattern" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="2" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23auth-pattern)"/></svg>');
    pointer-events: none;
    z-index: 0;
}

.auth-card {
    position: relative;
    z-index: 1;
}

/* Password Requirements Validation Styling */
.password-requirements {
    margin-top: 0.5rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.requirement-list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.requirement {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.2s ease;
}

.requirement .requirement-icon {
    font-size: 0.7rem;
    transition: all 0.2s ease;
}

/* Valid state - green checkmark */
.requirement.valid {
    color: #28a745;
}

.requirement.valid .requirement-icon::before {
    content: "\F26B" !important; /* Bootstrap icon check-circle-fill */
}

/* Invalid state - red X */
.requirement.invalid {
    color: #dc3545;
}

.requirement.invalid .requirement-icon::before {
    content: "\F622" !important; /* Bootstrap icon x-circle-fill */
}

/* Modal content styling */
.privacy-policy-content h6,
.terms-of-use-content h6 {
    color: #4dabf7;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.privacy-policy-content ul,
.terms-of-use-content ul {
    margin-bottom: 1rem;
}

.privacy-policy-content li,
.terms-of-use-content li {
    margin-bottom: 0.25rem;
}

/* Invalid checkbox styling */
.form-check-input.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.form-check-input.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* Modal scrollbar styling */
.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Checkbox error alert */
.checkbox-error {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Mobile phone input group styling */
.input-group .form-select {
    border-right: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group .form-control {
    border-left: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* Registration Option Cards */
.registration-option-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.registration-option-card:hover {
    border-color: rgba(71, 85, 105, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(71, 85, 105, 0.2);
}

.registration-option-card.selected {
    border-color: #475569;
    background: rgba(71, 85, 105, 0.1);
    box-shadow: 0 0 20px rgba(71, 85, 105, 0.3);
}

.option-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.option-icon {
    font-size: 1.5rem;
    color: #475569;
    margin-right: 0.75rem;
}

.option-title {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.option-content {
    color: rgba(255, 255, 255, 0.8);
}

.option-description {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.option-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.option-features li {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.option-price {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.option-price .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.option-price .period {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-left: 0.5rem;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }

    .auth-container {
        padding: 1rem !important;
        min-height: 100vh;
    }

    .auth-card {
        padding: 1.5rem !important;
        margin: 0 !important;
        max-width: 100% !important;
        border-radius: 16px !important;
    }

    .auth-logo .logo-image {
        max-width: 140px;
    }

    h2 {
        font-size: 1.4rem !important;
    }

    .form-label {
        font-size: 0.9rem;
    }

    .form-control, .form-select {
        font-size: 16px !important; /* Prevents iOS zoom */
        padding: 0.7rem 0.9rem;
    }

    .row {
        margin-left: 0;
        margin-right: 0;
    }

    .col-md-6 {
        padding-left: 0;
        padding-right: 0;
    }

    .btn-auth {
        padding: 0.8rem;
    }

    .input-group .form-select {
        max-width: 130px !important;
        font-size: 14px !important;
    }

    .password-requirements {
        padding: 0.5rem;
    }

    .requirement {
        font-size: 0.75rem;
    }

    .validation-hint small {
        font-size: 0.75rem;
    }
}

@media (max-width: 576px) {
    .auth-card {
        padding: 1.25rem !important;
    }

    .auth-logo {
        margin-bottom: 1rem !important;
    }

    .auth-logo .logo-image {
        max-width: 120px;
    }

    h2 {
        font-size: 1.25rem !important;
    }

    .text-white-50.mb-3 {
        font-size: 0.85rem;
        margin-bottom: 0.75rem !important;
    }

    .form-group, .mb-3 {
        margin-bottom: 0.75rem !important;
    }

    .input-group .form-select {
        max-width: 110px !important;
        padding: 0.5rem 0.25rem;
        font-size: 13px !important;
    }

    .input-group .form-control {
        font-size: 14px !important;
    }

    .registration-option-card {
        padding: 1rem;
        margin-bottom: 0.75rem;
    }

    .option-icon {
        font-size: 1.2rem;
    }

    .option-title {
        font-size: 1rem;
    }

    /* Password requirements compact */
    .password-requirements {
        padding: 0.4rem;
    }

    .requirement {
        font-size: 0.7rem;
        gap: 0.25rem;
    }

    .requirement .requirement-icon {
        font-size: 0.6rem;
    }
}

/* Fix iOS viewport */
@supports (-webkit-touch-callout: none) {
    .auth-container {
        min-height: -webkit-fill-available;
    }
}
