/**
 * Odontogest Signup Wizard Styles
 */

/* Wizard Progress Bar */
.wizard-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    position: relative;
}

.wizard-progress::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 25%;
    width: 50%;
    height: 2px;
    background-color: #e0e0e0;
    z-index: 0;
}

.wizard-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    flex: 1;
}

.wizard-step .step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e0e0e0;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.wizard-step.active .step-number {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.wizard-step.completed .step-number {
    background-color: #28a745;
    color: white;
}

.wizard-step.completed .step-number::before {
    content: '\f00c';
    font-family: FontAwesome;
}

.wizard-step .step-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.wizard-step.active .step-label {
    color: #667eea;
    font-weight: 600;
}

/* Wizard Content */
.wizard-content {
    background: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.wizard-panel {
    display: none;
}

.wizard-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wizard-panel h2 {
    margin-bottom: 10px;
    color: #333;
    font-size: 28px;
}

.wizard-panel .subtitle {
    color: #666;
    margin-bottom: 30px;
    font-size: 16px;
}

/* Plans Grid */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.plan-card {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.plan-card:hover {
    border-color: #667eea;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.2);
    transform: translateY(-5px);
}

.plan-card.selected {
    border-color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
}

.plan-header h3 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 22px;
}

.plan-price {
    margin-bottom: 20px;
}

.plan-price .currency {
    font-size: 20px;
    color: #666;
}

.plan-price .amount {
    font-size: 36px;
    font-weight: bold;
    color: #667eea;
}

.plan-price .period {
    font-size: 14px;
    color: #999;
}

.plan-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.plan-features li {
    padding: 8px 0;
    font-size: 14px;
    color: #555;
}

.plan-features li i {
    color: #28a745;
    margin-right: 8px;
}

.plan-features .more-features {
    color: #667eea;
    font-style: italic;
}

.btn-select-plan {
    width: 100%;
    padding: 12px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-select-plan:hover {
    background: #5568d3;
}

.plan-card.selected .btn-select-plan {
    background: #28a745;
}

/* Form Styles */
.signup-form .form-group {
    margin-bottom: 20px;
}

.signup-form label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

.signup-form .form-control {
    height: 45px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    padding: 10px 15px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.signup-form .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    outline: none;
}

.signup-form .form-control.error {
    border-color: #dc3545;
}

.email-feedback {
    display: block;
    margin-top: 5px;
    font-size: 13px;
}

.email-feedback.success {
    color: #28a745;
}

.email-feedback.error {
    color: #dc3545;
}

.help-block {
    display: block;
    margin-top: 5px;
    font-size: 13px;
}

.text-danger {
    color: #dc3545;
}

/* Review Section */
.review-section {
    margin-bottom: 30px;
}

.review-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e0e0e0;
}

.review-item:last-child {
    border-bottom: none;
}

.review-item h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 18px;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.summary-item {
    padding: 10px 0;
}

.summary-label {
    font-weight: 600;
    color: #666;
    display: block;
    margin-bottom: 5px;
}

.summary-value {
    color: #333;
    font-size: 16px;
}

.plan-summary .summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
}

.plan-summary strong {
    font-size: 18px;
    color: #333;
}

.summary-price {
    font-size: 24px;
    font-weight: bold;
    color: #667eea;
}

.trial-notice-box {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border-left: 4px solid #ffc107;
    padding: 20px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 25px 0;
}

.trial-notice-box i {
    font-size: 32px;
    color: #856404;
}

.trial-notice-box h4 {
    margin: 0 0 5px 0;
    color: #856404;
    font-size: 18px;
}

.trial-notice-box p {
    margin: 0;
    color: #856404;
}

.terms-box {
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #555;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-label a {
    color: #667eea;
    text-decoration: underline;
}

/* Wizard Actions */
.wizard-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.wizard-actions .btn {
    min-width: 120px;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.wizard-actions .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
}

.wizard-actions .btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.wizard-actions .btn-success {
    background: #28a745;
    border: none;
}

.wizard-actions .btn-success:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
}

.wizard-actions .btn-default {
    background: white;
    border: 2px solid #e0e0e0;
    color: #666;
}

.wizard-actions .btn-default:hover {
    border-color: #667eea;
    color: #667eea;
}

/* Result Messages */
.success-container,
.error-container {
    text-align: center;
    padding: 40px 20px;
}

.success-icon,
.error-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.success-icon i {
    color: #28a745;
}

.error-icon i {
    color: #dc3545;
}

.success-container h2,
.error-container h2 {
    color: #333;
    margin-bottom: 15px;
}

.success-message {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.trial-info {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 20px;
    margin: 25px 0;
    display: inline-block;
}

.trial-info i {
    font-size: 24px;
    color: #667eea;
    margin-bottom: 10px;
}

.trial-info strong {
    color: #333;
}

.next-steps {
    text-align: left;
    max-width: 500px;
    margin: 30px auto;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 6px;
}

.next-steps h4 {
    color: #333;
    margin-bottom: 15px;
}

.next-steps ol {
    padding-left: 20px;
}

.next-steps li {
    padding: 8px 0;
    color: #666;
}

.error-list {
    text-align: left;
    max-width: 500px;
    margin: 20px auto;
    padding: 20px;
    background: #f8d7da;
    border-radius: 6px;
    list-style-position: inside;
}

.error-list li {
    padding: 5px 0;
    color: #721c24;
}

/* Loading Spinner */
.loading-spinner {
    text-align: center;
    padding: 60px 20px;
}

.loading-spinner i {
    color: #667eea;
    margin-bottom: 15px;
}

.loading-spinner p {
    color: #666;
    font-size: 16px;
}

/* Error Message */
.error-message {
    text-align: center;
    padding: 60px 20px;
}

.error-message i {
    font-size: 60px;
    color: #dc3545;
    margin-bottom: 20px;
}

.error-message p {
    color: #666;
    font-size: 16px;
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .wizard-progress::before {
        display: none;
    }

    .wizard-content {
        padding: 25px;
    }

    .plans-grid {
        grid-template-columns: 1fr;
    }

    .wizard-actions {
        flex-direction: column;
        gap: 15px;
    }

    .wizard-actions .btn {
        width: 100%;
    }

    .summary-grid {
        grid-template-columns: 1fr;
    }
}
