/* Registration Page Specific Styles */

/* Extend login container for registration */
.register-container {
    max-width: 600px;
}

/* Registration steps */
.registration-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
    padding: 0 10px;
}

.registration-steps::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 50px;
    right: 50px;
    height: 4px;
    background-color: #e0e0e0;
    z-index: 1;
    border-radius: 2px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    width: 120px;
}

.step-number {
    background-color: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 22px;
    margin-bottom: 12px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.step-label {
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    color: #666;
    transition: all 0.3s ease;
    max-width: 120px;
    margin-top: 5px;
}

.step.active .step-number {
    border-color: #4f77a3;
    background-color: #4f77a3;
    color: white;
    box-shadow: 0 5px 12px rgba(79, 119, 163, 0.4);
    transform: scale(1.05);
}

.step.active .step-label {
    color: #4f77a3;
    font-weight: 600;
    font-size: 17px;
}

.step.completed .step-number {
    border-color: #2ecc71;
    background-color: #2ecc71;
    color: white;
    box-shadow: 0 5px 12px rgba(46, 204, 113, 0.4);
}

.step.completed .step-label {
    color: #2ecc71;
    font-weight: 600;
}

/* Step forms */
.step-form {
    display: none;
}

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

/* Checkbox group */
.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 3px;
    width: auto;
}

.checkbox-group label {
    font-weight: normal;
    margin-bottom: 0;
}

/* Back button */
.back-button {
    width: 100%;
    padding: 12px;
    background-color: #6c757d;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.back-button:hover {
    background-color: #5a6268;
}

/* Verification code inputs */
.verification-info {
    margin-bottom: 30px;
    text-align: center;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.verification-info p {
    margin-bottom: 10px;
    font-size: 16px;
}

.phone-display {
    font-weight: bold;
    margin-top: 10px;
    color: #4f77a3;
    font-size: 18px;
    background-color: rgba(79, 119, 163, 0.1);
    padding: 8px 15px;
    border-radius: 6px;
    display: inline-block;
}

.verification-code-group {
    text-align: center;
}

.verification-code-inputs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 15px 0;
}

.verification-digit {
    width: 55px !important;
    height: 65px;
    font-size: 28px;
    text-align: center;
    border: 2px solid #ddd;
    border-radius: 12px;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
}

.verification-digit:focus {
    border-color: #4f77a3;
    box-shadow: 0 0 0 3px rgba(79, 119, 163, 0.25);
    background-color: #fff;
}

.resend-code {
    text-align: center;
    margin: 20px 0;
}

.countdown-label {
    font-size: 15px;
    color: #666;
    margin-bottom: 8px;
}

.countdown-display {
    display: inline-block;
    background-color: #4f77a3;
    color: white;
    font-size: 22px;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 8px;
    margin-bottom: 12px;
    box-shadow: 0 3px 8px rgba(79, 119, 163, 0.3);
}

#countdown {
    font-size: inherit;
    color: inherit;
}

/* Success message */
.success-message {
    text-align: center;
    margin-bottom: 30px;
}

.success-icon {
    width: 100px;
    height: 100px;
    background-color: #4f77a3;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    margin: 0 auto 25px;
    box-shadow: 0 8px 20px rgba(79, 119, 163, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 8px 20px rgba(79, 119, 163, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 24px rgba(79, 119, 163, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 8px 20px rgba(79, 119, 163, 0.4);
    }
}

.success-message h2 {
    color: #333;
    margin-bottom: 15px;
}

.verification-message {
    margin: 0 auto;
    max-width: 450px;
}

.verification-message p {
    color: #666;
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.5;
}

.email-container {
    background-color: rgba(79, 119, 163, 0.1);
    padding: 12px 15px;
    border-radius: 8px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.email-label {
    font-weight: 500;
    color: #555;
}

.verification-tip {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 12px 15px;
    margin-top: 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    text-align: left;
}

.tip-icon {
    font-size: 20px;
    margin-right: 10px;
}

.success-message p {
    color: #666;
    margin-bottom: 10px;
}

/* Package info */
.package-info {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
}

.package-info h3 {
    color: #4f77a3;
    margin-bottom: 15px;
}

.package-info ul {
    list-style-type: none;
    padding: 0;
    margin-bottom: 15px;
}

.package-info ul li {
    padding: 5px 0;
    position: relative;
    padding-left: 25px;
}

.package-info ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2ecc71;
    font-weight: bold;
}

.package-info p {
    font-size: 14px;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .verification-code-inputs {
        gap: 5px;
    }

    .verification-digit {
        width: 40px !important;
        height: 50px;
        font-size: 20px;
    }

    .registration-steps {
        margin-bottom: 35px;
    }

    .registration-steps::before {
        left: 25px;
        right: 25px;
        top: 25px;
    }

    .step {
        width: 100px;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }

    .step-label {
        font-size: 13px;
        max-width: 100px;
    }

    .step.active .step-label {
        font-size: 14px;
    }

    .verification-info {
        padding: 15px;
    }

    .countdown-display {
        font-size: 20px;
        padding: 8px 15px;
    }

    .email-container {
        flex-direction: column;
        gap: 5px;
        align-items: flex-start;
    }

    .verification-tip {
        flex-direction: column;
        align-items: flex-start;
    }

    .tip-icon {
        margin-bottom: 5px;
    }
}

/* Action buttons */
.verification-actions {
    margin-top: 30px;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
}

.button-icon {
    margin-right: 8px;
    font-size: 18px;
    display: inline-block;
    vertical-align: middle;
}

.secondary-button {
    background-color: #f8f9fa;
    color: #4f77a3;
    border: 1px solid #4f77a3;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.secondary-button:hover {
    background-color: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.secondary-button:active {
    transform: translateY(0);
}

/* Ensure buttons work well on touch devices */
@media (hover: none) {
    .login-button:hover, .secondary-button:hover {
        transform: none;
        box-shadow: none;
    }
}
