/**biasharani/assets/css/signup.css**/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
}

.container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 420px;
    overflow: hidden;
}

.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    text-align: center;
}

.header h1 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.header p {
    opacity: 0.9;
    font-size: 0.9rem;
}

.form-container {
    padding: 25px;
}

.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
    position: relative;
}

.step-indicator::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e0e0e0;
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-circle {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.8rem;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.step.active .step-circle {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: scale(1.05);
}

.step.completed .step-circle {
    background: #4CAF50;
}

.step-label {
    font-size: 0.75rem;
    color: #666;
    font-weight: 500;
}

.step.active .step-label {
    color: #667eea;
    font-weight: 600;
}

.form-step {
    display: none;
    animation: fadeIn 0.4s ease;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.input-group {
    margin-bottom: 18px;
    position: relative;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-weight: 500;
    font-size: 0.85rem;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    outline: none;
}

.input-group input:focus,
.input-group select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.input-group input.error {
    border-color: #f44336;
}

.input-group input.success {
    border-color: #4CAF50;
}

.availability-status {
    margin-top: 5px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: 0;
    transform: translateY(-8px);
    transition: all 0.3s ease;
}

.availability-status.show {
    opacity: 1;
    transform: translateY(0);
}

.availability-status.available {
    color: #4CAF50;
}

.availability-status.taken {
    color: #f44336;
}

.availability-status.checking {
    color: #FF9800;
}

.password-strength {
    margin-top: 5px;
    height: 3px;
    background: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
}

.strength-meter {
    height: 100%;
    width: 0%;
    transition: all 0.3s ease;
}

.strength-meter.weak { background: #f44336; width: 33%; }
.strength-meter.fair { background: #FF9800; width: 66%; }
.strength-meter.strong { background: #4CAF50; width: 100%; }

.btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(102, 126, 234, 0.25);
}

.btn:active {
    transform: translateY(0);
}

.btn:disabled {
    background: #cccccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-secondary {
    background: #6c757d !important;
}

.btn-secondary:hover {
    background: #5a6268 !important;
    box-shadow: 0 8px 15px rgba(108, 117, 125, 0.25);
}

.login-link {
    text-align: center;
    margin-top: 20px;
    color: #666;
    font-size: 0.85rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.login-link a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.login-link a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Back to webpage link */
.back-to-webpage {
    color: #6c757d;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.back-to-webpage:hover {
    color: #667eea;
}

.back-to-webpage i {
    font-size: 0.75rem;
}

.login-link span.separator {
    color: #ddd;
}

.hidden {
    display: none;
}

.error-message {
    background: #ffebee;
    color: #c62828;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
    display: none;
    font-size: 0.85rem;
    animation: shake 0.4s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-4px); }
    20%, 40%, 60%, 80% { transform: translateX(4px); }
}

@media (max-width: 600px) {
    .container {
        margin: 10px;
    }
    
    .form-container {
        padding: 20px;
    }
    
    .header {
        padding: 15px;
    }
    
    .header h1 {
        font-size: 1.6rem;
    }
    
    .btn-group {
        flex-direction: column;
        gap: 8px;
    }
    
    .btn-group .btn {
        width: 100%;
    }
}

/* Plan Selection Styles */
.plan-selection {
    padding: 5px 0;
}

.plan-title {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 5px;
    text-align: center;
}

.plan-subtitle {
    color: #666;
    text-align: center;
    margin-bottom: 20px;
    font-size: 0.85rem;
}

.plan-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin: 20px 0;
}

.plan-card {
    background: white;
    border: 1.5px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.plan-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    border-color: #667eea;
}

.plan-card.selected {
    border-color: #667eea;
    box-shadow: 0 8px 15px rgba(102, 126, 234, 0.15);
    transform: scale(1.01);
}

.plan-card.popular {
    border-color: #764ba2;
    transform: scale(1.02);
    z-index: 2;
    box-shadow: 0 12px 20px rgba(118, 75, 162, 0.12);
}

.popular-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    color: white;
    padding: 3px 10px;
    border-radius: 30px;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.plan-card-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #f5f7fa 100%);
    padding: 15px 12px;
    text-align: center;
    border-bottom: 1.5px solid #e0e0e0;
}

.plan-card-header h4 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 8px;
}

.plan-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 3px;
}

.plan-price span {
    font-size: 0.8rem;
    font-weight: 400;
    color: #666;
}

.plan-yearly {
    font-size: 0.7rem;
    color: #4CAF50;
    font-weight: 500;
}

.plan-card-body {
    padding: 15px 12px;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-features li {
    margin-bottom: 6px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
}

.plan-features li i {
    width: 14px;
    text-align: center;
    font-size: 0.75rem;
}

.plan-features li i.fa-check {
    color: #4CAF50;
}

.plan-features li i.fa-times {
    color: #f44336;
}

.plan-features li.disabled {
    color: #999;
}

.plan-features li.disabled i {
    color: #f44336;
    opacity: 0.5;
}

.plan-card-footer {
    padding: 12px;
    border-top: 1.5px solid #e0e0e0;
}

.btn-plan {
    background: #f8f9fa;
    color: #333;
    border: 1.5px solid #e0e0e0;
    padding: 8px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.btn-plan:hover {
    background: #e0e0e0;
    transform: none;
    box-shadow: none;
}

.btn-plan.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
}

.btn-plan.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(102, 126, 234, 0.25);
}

.plan-card.selected .btn-plan {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
}

.plan-card.selected .btn-plan:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(102, 126, 234, 0.25);
}



/* Additional styles for validation status messages */
#usernameStatus,
#passcodeStatus,
#confirmPasscodeStatus {
    margin-top: 5px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: 0;
    transform: translateY(-8px);
    transition: all 0.3s ease;
}

#usernameStatus.show,
#passcodeStatus.show,
#confirmPasscodeStatus.show {
    opacity: 1;
    transform: translateY(0);
}

#usernameStatus.available,
#passcodeStatus.available,
#confirmPasscodeStatus.available {
    color: #4CAF50;
}

#usernameStatus.taken,
#passcodeStatus.taken,
#confirmPasscodeStatus.taken {
    color: #f44336;
}

#usernameStatus.checking,
#passcodeStatus.checking,
#confirmPasscodeStatus.checking {
    color: #FF9800;
}

/* Style for disabled next button in step 2 */
#nextBtn2:disabled {
    background: #cccccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    opacity: 0.6;
}

/* Animation for validation feedback */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.input-group input.success {
    border-color: #4CAF50;
    animation: pulse 0.3s ease;
}

.input-group input.error {
    border-color: #f44336;
    animation: shake 0.4s ease;
}

/* Password strength indicator enhancements */
.password-strength {
    margin-top: 8px;
    height: 4px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.strength-meter {
    height: 100%;
    width: 0%;
    transition: all 0.3s ease;
}

.strength-meter.weak { 
    background: linear-gradient(90deg, #f44336, #ff8a80); 
    width: 33%; 
}

.strength-meter.fair { 
    background: linear-gradient(90deg, #FF9800, #ffb74d); 
    width: 66%; 
}

.strength-meter.strong { 
    background: linear-gradient(90deg, #4CAF50, #81c784); 
    width: 100%; 
}

/* Responsive adjustments for validation messages */
@media (max-width: 480px) {
    #usernameStatus,
    #passcodeStatus,
    #confirmPasscodeStatus {
        font-size: 0.7rem;
    }
    
    .input-group input {
        padding: 8px 10px;
    }
}


/* Password strength indicator enhancements */
.password-strength {
    margin-top: 8px;
    height: 6px;
    background: #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.strength-meter {
    height: 100%;
    width: 0%;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.strength-meter.weak { 
    background: linear-gradient(90deg, #f44336, #ff8a80); 
    width: 25%; 
}

.strength-meter.fair { 
    background: linear-gradient(90deg, #FF9800, #ffb74d); 
    width: 50%; 
}

.strength-meter.good { 
    background: linear-gradient(90deg, #2196F3, #64b5f6); 
    width: 75%; 
}

.strength-meter.strong { 
    background: linear-gradient(90deg, #4CAF50, #81c784); 
    width: 100%; 
}

/* Passcode strength text colors */
#passcodeStatus.available i.fa-check-circle {
    color: #4CAF50;
}

#passcodeStatus.available span {
    color: #4CAF50;
}

/* When passcode is weak */
#passcodeStatus.available:has(span:contains("Weak")) {
    color: #f44336;
}

/* Update input placeholder styling */
.input-group input::placeholder {
    color: #999;
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Animation for validation feedback */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.input-group input.success {
    border-color: #4CAF50;
    animation: pulse 0.3s ease;
    background-color: #f8fff8;
}

.input-group input.error {
    border-color: #f44336;
    animation: shake 0.4s ease;
    background-color: #fff8f8;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-4px); }
    20%, 40%, 60%, 80% { transform: translateX(4px); }
}

/* Style for disabled next button in step 2 */
#nextBtn2:disabled {
    background: #cccccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    opacity: 0.6;
}

/* Additional styles for validation status messages */
#usernameStatus,
#passcodeStatus,
#confirmPasscodeStatus {
    margin-top: 5px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: 0;
    transform: translateY(-8px);
    transition: all 0.3s ease;
    min-height: 20px;
}

#usernameStatus.show,
#passcodeStatus.show,
#confirmPasscodeStatus.show {
    opacity: 1;
    transform: translateY(0);
}

#usernameStatus.available,
#passcodeStatus.available,
#confirmPasscodeStatus.available {
    color: #4CAF50;
}

#usernameStatus.taken,
#passcodeStatus.taken,
#confirmPasscodeStatus.taken {
    color: #f44336;
}

#usernameStatus.checking,
#passcodeStatus.checking,
#confirmPasscodeStatus.checking {
    color: #FF9800;
}

/* Responsive adjustments for validation messages */
@media (max-width: 480px) {
    #usernameStatus,
    #passcodeStatus,
    #confirmPasscodeStatus {
        font-size: 0.7rem;
    }
    
    .input-group input {
        padding: 8px 10px;
    }
    
    .password-strength {
        height: 4px;
    }
}