/* Desktop Styles for Book Appointment Page */
@media screen and (min-width: 769px) {
    /* Container Max Width */
    body > div {
        max-width: 1200px;
        margin: 0 auto;
    }

    /* Header - Desktop */
    header {
        padding: 0.5rem 1.5rem;
        min-height: 48px;
    }

    header > div {
        padding: 0;
    }

    header h2 {
        margin: 0;
        padding: 0;
    }

    header a {
        margin: 0;
        flex-shrink: 0;
    }

    /* Form Container - Desktop */
    #appointmentForm {
        max-width: 800px;
        margin: 0 auto;
        padding: 0 2rem;
    }

    /* Form Grid Layout - Desktop */
    .form-grid-2 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    /* Input Fields - Desktop */
    .form-input {
        font-size: 1rem;
        padding: 0.875rem 1.25rem;
        transition: all 0.2s ease;
    }

    .form-input:hover {
        border-color: #9ca3af;
    }

    .form-input:focus {
        border-color: #374151;
        box-shadow: 0 0 0 3px rgba(25, 230, 196, 0.1);
    }

    /* Textarea - Desktop */
    textarea.form-input {
        min-height: 120px;
        resize: vertical;
    }

    /* Select Dropdown - Desktop */
    select.form-input {
        cursor: pointer;
    }

    select.form-input:hover {
        background-color: #f9fafb;
    }

    /* Button Styles - Desktop */
    button[type="submit"] {
        min-height: 3.5rem;
        font-size: 1.125rem;
        transition: all 0.2s ease;
    }

    button[type="submit"]:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px -5px rgba(25, 230, 196, 0.3);
    }

    /* Confirmation Dialog - Desktop */
    #confirmationDialog {
        padding: 2rem;
    }

    #confirmationDialog > div {
        max-width: 500px;
        margin: 0 auto;
        padding: 2rem;
    }

    /* Character Counter - Desktop */
    #charCount {
        font-size: 0.875rem;
    }

    /* Terms & Conditions Box - Desktop */
    .terms-box {
        padding: 1.25rem;
        font-size: 0.9375rem;
        line-height: 1.6;
    }

    /* Checkbox - Smaller Size - Desktop */
    input[type="checkbox"] {
        width: 0.75rem;
        height: 0.75rem;
        min-width: 0.75rem;
        min-height: 0.75rem;
    }

    /* Progress Bar - Desktop */
    .progress-bar {
        height: 0.5rem;
    }

    /* Icon Sizes - Desktop */
    .material-symbols-outlined {
        font-size: 1.75rem;
    }

    /* Spacing Adjustments - Desktop */
    .mb-section {
        margin-bottom: 2rem;
    }

    /* Hover Effects - Desktop */
    button:hover,
    a:hover {
        opacity: 0.9;
    }

    /* Form Field Groups - Desktop */
    .form-group {
        margin-bottom: 1.5rem;
    }

    .form-group label {
        margin-bottom: 0.5rem;
        display: block;
    }

    /* Date and Time Grid - Desktop */
    .date-time-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    /* Department Select - Desktop */
    #department {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
        background-position: right 0.75rem center;
        background-repeat: no-repeat;
        background-size: 1.5em 1.5em;
    }

    /* Confirmation Dialog Buttons - Desktop */
    #confirmationDialog button {
        transition: all 0.2s ease;
    }

    #confirmationDialog button:hover {
        transform: translateY(-1px);
    }

    /* Loading State - Desktop */
    button[type="submit"]:disabled {
        cursor: not-allowed;
        opacity: 0.6;
    }

    /* Error States - Desktop */
    .form-input.border-red-500 {
        border-color: #ef4444;
        animation: shake 0.3s ease-in-out;
    }

    @keyframes shake {
        0%, 100% {
            transform: translateX(0);
        }
        25% {
            transform: translateX(-5px);
        }
        75% {
            transform: translateX(5px);
        }
    }

    /* Success Animation - Desktop */
    @keyframes successPulse {
        0%, 100% {
            transform: scale(1);
        }
        50% {
            transform: scale(1.05);
        }
    }

    .success-icon {
        animation: successPulse 0.5s ease-in-out;
    }

    /* Smooth Transitions */
    * {
        transition-property: color, background-color, border-color, transform, opacity;
        transition-duration: 0.2s;
        transition-timing-function: ease-in-out;
    }
}

/* Print Styles */
@media print {
    header,
    nav,
    button,
    #confirmationDialog {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .form-input {
        border: 1px solid #000;
    }
}
