﻿ 
/* Demo page styling */
.demo-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.demo-header {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3f73 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 12px;
    margin-bottom: 3rem;
}

    .demo-header h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .demo-header p {
        font-size: 1.2rem;
        opacity: 0.9;
    }

.trigger-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.trigger-btn {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border: none;
    padding: 2rem;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(40, 167, 69, 0.3);
}

    .trigger-btn:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 30px rgba(40, 167, 69, 0.4);
    }

.trigger-btn-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

/* Quick Appointment Popup Styles */
.quick-appointment-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

    .quick-appointment-overlay.active {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1rem;
    }

.quick-appointment-popup {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.quick-appointment-overlay.active .quick-appointment-popup {
    transform: scale(1);
}

.popup-header {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3f73 100%);
    color: white;
    padding: 2rem;
    border-radius: 16px 16px 0 0;
    position: relative;
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .popup-close:hover {
        background: rgba(255, 255, 255, 0.3);
    }

.popup-title {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.popup-subtitle {
    opacity: 0.9;
    font-size: 1rem;
}

.popup-body {
    padding: 2rem;
}

.quick-form-group {
    margin-bottom: 1.5rem;
}

.quick-form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.quick-form-input,
.quick-form-select,
.quick-form-textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid #e8f4f8;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

    .quick-form-input:focus,
    .quick-form-select:focus,
    .quick-form-textarea:focus {
        outline: none;
        border-color: #2c5aa0;
        box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
    }

.quick-form-textarea {
    resize: vertical;
    min-height: 80px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.urgency-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.urgency-option {
    padding: 0.75rem;
    border: 2px solid #e8f4f8;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

    .urgency-option:hover {
        border-color: #2c5aa0;
        background: #e8f4f8;
    }

    .urgency-option.selected {
        background: #2c5aa0;
        color: white;
        border-color: #2c5aa0;
    }

.urgency-routine {
    border-color: #28a745 !important;
}

    .urgency-routine.selected {
        background: #28a745 !important;
    }

.urgency-urgent {
    border-color: #ffc107 !important;
}

    .urgency-urgent.selected {
        background: #ffc107 !important;
        color: #333 !important;
    }

.urgency-emergency {
    border-color: #dc3545 !important;
}

    .urgency-emergency.selected {
        background: #dc3545 !important;
    }

.preferred-contact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.contact-option {
    padding: 0.75rem;
    border: 2px solid #e8f4f8;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

    .contact-option:hover,
    .contact-option.selected {
        background: #2c5aa0;
        color: white;
        border-color: #2c5aa0;
    }

.popup-actions {
    padding: 1.5rem 2rem;
    border-top: 1px solid #e8f4f8;
    display: flex;
    gap: 1rem;
}

.quick-btn {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.quick-btn-primary {
    background: linear-gradient(135deg, #2c5aa0, #1e3f73);
    color: white;
}

    .quick-btn-primary:hover {
        background: linear-gradient(135deg, #1e3f73, #2c5aa0);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(44, 90, 160, 0.3);
    }

.quick-btn-secondary {
    background: #f8fafb;
    color: #2c5aa0;
    border: 2px solid #e8f4f8;
}

    .quick-btn-secondary:hover {
        background: #e8f4f8;
        border-color: #2c5aa0;
    }

.emergency-notice {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    color: #856404;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #ffc107;
    font-size: 0.9rem;
    line-height: 1.5;
}

    .emergency-notice strong {
        color: #dc3545;
    }

.success-message {
    display: none;
    text-align: center;
    padding: 2rem;
}

.success-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 1rem;
}

.success-title {
    color: #2c5aa0;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.success-description {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.reference-number {
    background: #e8f4f8;
    color: #2c5aa0;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .popup-header {
        padding: 1.5rem;
    }

    .popup-body {
        padding: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .urgency-options {
        grid-template-columns: 1fr;
    }

    .popup-actions {
        flex-direction: column;
        padding: 1rem 1.5rem;
    }

    .trigger-buttons {
        grid-template-columns: 1fr;
    }

    .demo-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    body {
        /*padding: 1rem;*/
    }

    .quick-appointment-popup {
        max-height: 95vh;
    }

    .popup-title {
        font-size: 1.5rem;
    }

    .preferred-contact {
        grid-template-columns: 1fr;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.popup-body {
    animation: slideUp 0.4s ease 0.1s both;
}
 
