/* Authentication System Styles */

.auth-container {
    max-width: 580px;
    margin: 50px auto;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    position: relative;
    z-index: 1000;
}

.auth-header {
    background: #4b86b4;
    padding: 0;
    text-align: center;
    color: white;
}

.auth-header img {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
}

.language-switcher {
    display: flex;
    justify-content: flex-end;
    background: #adcbe3;
    padding: 5px 15px;
    border-bottom: 1px solid #dee2e6;
}

.lang-btn {
    padding: 4px 10px;
    margin: 0 3px;
    text-decoration: none;
    color: #495057;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #212529;
    text-decoration: none;
}

.lang-btn.active {
    background: #fff;
    color: #495057;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.auth-tabs {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.auth-tab {
    flex: 1;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    background: transparent;
    color: #6c757d;
    font-weight: 500;
    user-select: none;
}

.auth-tab.active {
    background: white;
    color: #4b86b4;
    border-bottom: 3px solid #4b86b4;
}

.auth-content {
    padding: 20px 70px;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

/* Panel headers for titles and descriptions */
.auth-panel-header {
    display: none;
    text-align: center;
    margin-bottom: 25px;
}

.auth-panel-header.active {
    display: block;
}

.auth-panel-header h3 {
    color: #2c3e50;
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.auth-panel-header p {
    color: #6c757d;
    font-size: 14px;
    margin: 0;
}

.form-group {
    margin-bottom: 10px;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.auth-form input[type="text"]:focus,
.auth-form input[type="email"]:focus,
.auth-form input[type="password"]:focus,
.auth-form select:focus {
    outline: none;
    border-color: #4b86b4;
}

.btn-primary {
    width: 100%;
    padding: 10px;
    background: #4b86b4;
    border: none;
    border-radius: 4px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.btn-primary:hover {
    background: #3a6b8f;
}

.alert {
    padding: 10px;
    border-radius: 4px;
    margin: 15px 15px 0 15px;
    font-size: 14px;
}

.alert-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.alert-danger {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.timezone-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.auth-footer {
    background: #f8f9fa;
    padding: 0;
    text-align: center;
    border-top: 1px solid #dee2e6;
}

.auth-footer img {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.auth-footer img:hover {
    opacity: 1;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

.container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.country-field {
    display: none;
}

#payment-form .btn {
    width: 100%;
    padding: 20px;
    background-color:#4b86b4;
    margin-bottom: 5px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

#payment-form .btn b {
    display: block;
    font-size: 16px;
    color: #FFFFFF;
    margin-bottom: 5px;
}

#payment-form .btn h1 {
    color: #FFFFFF;
    margin: 10px 0;
    font-size: 28px;
}

#payment-form .text-muted {
    color: #6c757d;
    font-size: 11px;
    font-style: italic;
    text-align:center;
}

/* Password Strength Indicator Styles */
.password-strength-container {
    margin-top: 8px;
    margin-bottom: 15px;
}

.password-strength-bar {
    height: 4px;
    background: #e9ecef;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 8px;
}

.password-strength-fill {
    height: 100%;
    width: 0%;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.password-strength-fill.very-weak {
    background: #dc3545;
    width: 25%;
}

.password-strength-fill.weak {
    background: #fd7e14;
    width: 50%;
}

.password-strength-fill.medium {
    background: #ffc107;
    width: 75%;
}

.password-strength-fill.strong {
    background: #28a745;
    width: 100%;
}

.password-strength-text {
    font-size: 12px;
    color: #6c757d;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.password-strength-label {
    font-weight: 500;
}

.password-requirements {
    margin-top: 8px;
    font-size: 11px;
    color: #6c757d;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 10px;
}

.password-requirement {
    display: flex;
    align-items: center;
    margin-bottom: 2px;
}

.password-requirement.valid {
    color: #28a745;
}

.password-requirement.invalid {
    color: #dc3545;
}

.password-requirement-icon {
    margin-right: 5px;
    font-size: 10px;
}

.password-requirement-icon.valid::before {
    content: "✓";
    color: #28a745;
}

.password-requirement-icon.invalid::before {
    content: "✗";
    color: #dc3545;
} 