/* Appointment Page Styles */

/* Page Header Section */
.page-header-section {
    background: linear-gradient(135deg, var(--money-green), #1a4731);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Business Model Section */
.business-model-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.model-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.model-step {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.model-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.step-number {
    background: var(--money-green);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step-content h3 {
    color: var(--money-green);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.step-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.step-cta {
    display: inline-block;
    background: var(--money-green);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.step-cta:hover {
    background: #1a4731;
    transform: translateY(-2px);
}

/* Appointment Booking Section */
.appointment-booking-section {
    padding: 4rem 0;
    background: white;
}

.booking-container {
    display: grid;
    grid-template-columns: 30% 70%;
    gap: 3rem;
    align-items: start;
}

.booking-info h2 {
    color: var(--money-green);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.info-box {
    background: #f0f7ff;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #3498db;
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-box i {
    color: #3498db;
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.info-box p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.pricing-info {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.pricing-info h3 {
    color: var(--money-green);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.pricing-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
    color: #666;
}

.pricing-list li:last-child {
    border-bottom: none;
}

.pricing-list li::before {
    content: "✓";
    color: var(--money-green);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Booking Form */
.booking-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
}

.booking-form h3 {
    color: var(--money-green);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.appointment-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.appointment-form .form-group:nth-child(3),
.appointment-form .form-group:nth-child(4),
.appointment-form .form-group:nth-child(5),
.appointment-form .form-group:nth-child(6),
.appointment-form .form-group:nth-child(7),
.appointment-form .form-group:nth-child(8) {
    grid-column: 1 / -1;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #555;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--money-green);
    box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.1);
}

.form-group small {
    color: #666;
    font-size: 0.8rem;
    margin-top: 0.3rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Payment Section */
.payment-section {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    margin-top: 1rem;
    width: 100%;
    max-width: 100%;
}

.payment-section h4 {
    color: var(--money-green);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.credit-card-form {
    margin-top: 1rem;
}

.card-input-container {
    margin-bottom: 1rem;
}

.card-input-container.full-width {
    grid-column: 1 / -1;
}

.card-label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 600;
    font-size: 0.95rem;
}

.card-input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

.card-input:focus {
    outline: none;
    border-color: var(--money-green);
    box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.1);
}

.card-details-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .card-details-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

/* Payment Form Styles */
.payment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

.payment-header h4 {
    color: var(--money-green);
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.payment-security {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #28a745;
    font-size: 0.9rem;
    font-weight: 500;
}

.payment-security i {
    font-size: 1rem;
}

.payment-details {
    margin-bottom: 1.5rem;
}

.payment-amount {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 6px;
    border-left: 4px solid var(--money-green);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.amount-label {
    color: #666;
    font-weight: 500;
}

.amount-value {
    color: var(--money-green);
    font-size: 1.3rem;
    font-weight: 700;
}

.amount-note {
    color: #666;
    font-size: 0.8rem;
    font-style: italic;
}

.payment-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #28a745;
    font-size: 0.85rem;
    font-weight: 500;
}

.benefit-item i {
    font-size: 0.9rem;
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 6px;
}

.payment-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    color: #666;
    font-size: 0.8rem;
    font-weight: 500;
}

.payment-method i {
    font-size: 1.5rem;
    color: #333;
}

.payment-method span {
    font-size: 0.7rem;
}

/* Submit Button */
.submit-btn {
    background: var(--money-green);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    grid-column: 1 / -1;
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    background: #1a4731;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 139, 87, 0.3);
}

.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Why Model Section */
.why-model-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.why-model-section h2 {
    color: var(--money-green);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.benefit-card i {
    color: var(--money-green);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    color: var(--money-green);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
}

/* Messages */
.message {
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 6px;
    font-weight: 500;
    text-align: center;
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .booking-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .appointment-form {
        grid-template-columns: 1fr;
    }
    
    .model-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .page-header-section {
        padding: 2rem 1rem;
    }
    
    .business-model-section,
    .appointment-booking-section,
    .why-model-section {
        padding: 2rem 0;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .booking-container {
        gap: 2rem;
    }
    
    .model-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--money-green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
} 