/**
 * MST Admin System - Frontend Styles
 * Liquid Glass Aesthetic - Professional Version
 */

:root {
    --mst-primary: #9952E0;
    --mst-primary-light: #b575f0;
    --mst-secondary: #fbd603;
    --mst-accent: #16BFFF;
    --mst-dark: #1a1a2e;
    --mst-dark-soft: #2d2d44;
    --mst-gray: #6b7280;
    --mst-light: #f9fafb;
    --mst-glass-blur: 20px;
    --mst-glass-opacity: 0.95;
    --mst-border-radius: 20px;
    --mst-border-radius-sm: 12px;
    --mst-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --mst-shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.06);
    --mst-shadow-md: 0 8px 32px rgba(0, 0, 0, 0.1);
    --mst-shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);
    --mst-glass-border: rgba(255, 255, 255, 0.5);
    --mst-glass-border-hover: rgba(255, 255, 255, 0.7);
}

/* =============================================
   GUIDE APPLICATION MODAL
   ============================================= */

.mst-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mst-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.mst-modal {
    background: rgba(255, 255, 255, var(--mst-glass-opacity));
    backdrop-filter: blur(var(--mst-glass-blur));
    -webkit-backdrop-filter: blur(var(--mst-glass-blur));
    border-radius: var(--mst-border-radius);
    border: 1px solid var(--mst-glass-border);
    box-shadow: var(--mst-shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.3s ease;
}

.mst-modal-overlay.active .mst-modal {
    transform: scale(1) translateY(0);
}

.mst-modal-header {
    padding: 24px 28px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
}

.mst-modal-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--mst-dark);
    margin: 0;
    letter-spacing: -0.02em;
}

.mst-modal-subtitle {
    font-size: 14px;
    color: var(--mst-gray);
    margin: 4px 0 0 0;
}

.mst-modal-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.08);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--mst-transition);
    flex-shrink: 0;
}

.mst-modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.15);
}

.mst-modal-close svg {
    width: 18px;
    height: 18px;
    color: var(--mst-gray);
}

.mst-modal-body {
    padding: 28px;
}

/* Step Indicator */
.mst-steps-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 28px;
    padding: 14px 20px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 100px;
}

.mst-step-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mst-step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: #9ca3af;
    transition: var(--mst-transition);
}

.mst-step-item.active .mst-step-number {
    background: linear-gradient(135deg, var(--mst-primary), var(--mst-primary-light));
    color: #fff;
    box-shadow: 0 4px 14px rgba(153, 82, 224, 0.35);
}

.mst-step-item.completed .mst-step-number {
    background: var(--mst-secondary);
    color: var(--mst-dark);
}

.mst-step-label {
    font-size: 13px;
    font-weight: 500;
    color: #9ca3af;
    display: none;
}

.mst-step-item.active .mst-step-label,
.mst-step-item.completed .mst-step-label {
    color: var(--mst-dark);
}

@media (min-width: 480px) {
    .mst-step-label {
        display: block;
    }
}

.mst-step-line {
    width: 36px;
    height: 2px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    transition: var(--mst-transition);
}

.mst-step-line.completed {
    background: var(--mst-secondary);
}

/* Form Steps */
.mst-form-step {
    display: none;
}

.mst-form-step.active {
    display: block;
    animation: mstSlideIn 0.35s ease;
}

@keyframes mstSlideIn {
    from {
        opacity: 0;
        transform: translateX(24px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.mst-step-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--mst-dark);
    margin: 0 0 8px 0;
    text-align: center;
}

.mst-step-description {
    font-size: 14px;
    color: var(--mst-gray);
    margin: 0 0 24px 0;
    text-align: center;
    line-height: 1.5;
}

/* Form Fields */
.mst-form-group {
    margin-bottom: 20px;
}

.mst-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

@media (max-width: 480px) {
    .mst-form-row {
        grid-template-columns: 1fr;
    }
}

.mst-form-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--mst-dark);
    margin-bottom: 8px;
}

.mst-form-label .required {
    color: #ef4444;
}

.mst-form-label .mst-icon {
    width: 16px;
    height: 16px;
    color: var(--mst-primary);
}

.mst-form-input,
.mst-form-textarea,
.mst-form-select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--mst-border-radius-sm);
    font-size: 15px;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.9);
    transition: var(--mst-transition);
    color: var(--mst-dark);
}

.mst-form-input::placeholder,
.mst-form-textarea::placeholder {
    color: #9ca3af;
}

.mst-form-input:focus,
.mst-form-textarea:focus,
.mst-form-select:focus {
    outline: none;
    border-color: var(--mst-primary);
    box-shadow: 0 0 0 4px rgba(153, 82, 224, 0.1);
    background: #fff;
}

.mst-form-input.error,
.mst-form-textarea.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

.mst-form-textarea {
    min-height: 110px;
    resize: vertical;
    line-height: 1.6;
}

.mst-form-hint {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 6px;
}

/* Checkbox Grid (Categories) */
.mst-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

@media (max-width: 480px) {
    .mst-checkbox-grid {
        grid-template-columns: 1fr;
    }
}

.mst-checkbox-card {
    display: block;
    cursor: pointer;
}

.mst-checkbox-card input {
    display: none;
}

.mst-checkbox-card .checkbox-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--mst-border-radius-sm);
    transition: var(--mst-transition);
}

.mst-checkbox-card:hover .checkbox-content {
    border-color: var(--mst-primary);
    background: rgba(153, 82, 224, 0.03);
}

.mst-checkbox-card input:checked + .checkbox-content {
    border-color: var(--mst-primary);
    background: rgba(153, 82, 224, 0.08);
    box-shadow: 0 0 0 3px rgba(153, 82, 224, 0.1);
}

.checkbox-icon {
    font-size: 22px;
}

.checkbox-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--mst-dark);
}

/* Language Tags */
.mst-language-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mst-lang-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 100px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
    color: var(--mst-dark);
    cursor: pointer;
    transition: var(--mst-transition);
}

.mst-lang-tag:hover {
    border-color: var(--mst-primary);
    background: rgba(153, 82, 224, 0.03);
}

.mst-lang-tag.selected {
    background: var(--mst-primary);
    color: #fff;
    border-color: var(--mst-primary);
}

/* File Upload */
.mst-file-upload {
    position: relative;
    border: 2px dashed rgba(0, 0, 0, 0.1);
    border-radius: var(--mst-border-radius-sm);
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--mst-transition);
    background: rgba(255, 255, 255, 0.5);
}

.mst-file-upload:hover {
    border-color: var(--mst-primary);
    background: rgba(153, 82, 224, 0.03);
}

.mst-file-upload input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.upload-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 12px;
    background: rgba(153, 82, 224, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upload-icon svg {
    width: 22px;
    height: 22px;
    color: var(--mst-primary);
}

.upload-text {
    font-size: 14px;
    color: var(--mst-gray);
    margin: 0;
    line-height: 1.5;
}

.upload-text strong {
    color: var(--mst-primary);
}

.upload-preview {
    margin-top: 16px;
    display: none;
}

.upload-preview.active {
    display: block;
}

.upload-preview img {
    max-width: 120px;
    max-height: 120px;
    border-radius: 12px;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: var(--mst-shadow-sm);
}

/* Terms Checkbox */
.mst-terms-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: var(--mst-border-radius-sm);
}

.mst-terms-check input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--mst-primary);
}

.mst-terms-check label {
    font-size: 14px;
    color: var(--mst-gray);
    line-height: 1.5;
}

.mst-terms-check a {
    color: var(--mst-primary);
    text-decoration: none;
}

.mst-terms-check a:hover {
    text-decoration: underline;
}

/* Modal Footer / Buttons */
.mst-modal-footer {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    margin-top: 24px;
}

.mst-btn-prev,
.mst-btn-next,
.mst-btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: var(--mst-border-radius-sm);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--mst-transition);
    border: none;
}

.mst-btn-prev {
    background: rgba(0, 0, 0, 0.05);
    color: var(--mst-gray);
}

.mst-btn-prev:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--mst-dark);
}

.mst-btn-next,
.mst-btn-submit {
    background: linear-gradient(135deg, var(--mst-primary), var(--mst-primary-light));
    color: #fff;
    box-shadow: 0 4px 14px rgba(153, 82, 224, 0.3);
    flex: 1;
    max-width: 200px;
}

.mst-btn-next:hover,
.mst-btn-submit:hover {
    box-shadow: 0 6px 20px rgba(153, 82, 224, 0.4);
}

.mst-btn-next:disabled,
.mst-btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.mst-btn-submit {
    background: linear-gradient(135deg, var(--mst-secondary), #e6c300);
    color: var(--mst-dark);
    box-shadow: 0 4px 14px rgba(251, 214, 3, 0.35);
}

.mst-btn-submit:hover {
    box-shadow: 0 6px 20px rgba(251, 214, 3, 0.45);
}

/* Success State */
.mst-success-state {
    text-align: center;
    padding: 40px 20px;
}

.mst-success-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #22c55e, #4ade80);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: mstSuccessPop 0.5s ease;
}

@keyframes mstSuccessPop {
    0% { transform: scale(0); }
    60% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

.mst-success-icon svg {
    width: 36px;
    height: 36px;
    color: #fff;
}

.mst-success-state h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--mst-dark);
    margin: 0 0 8px 0;
}

.mst-success-state p {
    font-size: 15px;
    color: var(--mst-gray);
    margin: 0;
    line-height: 1.5;
}

/* =============================================
   BOOKING CALENDAR WIDGET
   ============================================= */

.mst-booking-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--mst-border-radius);
    border: 1px solid var(--mst-glass-border);
    box-shadow: var(--mst-shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    overflow: hidden;
}

/* Guide Header */
.mst-guide-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    background: linear-gradient(135deg, rgba(249, 250, 251, 0.8), rgba(255, 255, 255, 0.6));
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mst-guide-header .mst-guide-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.mst-guide-header .mst-guide-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--mst-primary);
    margin: 0 0 4px 0;
}

.mst-guide-header .mst-guide-info span {
    font-size: 13px;
    color: var(--mst-gray);
    display: flex;
    align-items: center;
    gap: 5px;
}

.mst-guide-header .mst-guide-info span::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
}

/* Calendar Section */
.mst-calendar-section {
    padding: 22px;
}

.mst-calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.mst-calendar-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--mst-dark);
    text-transform: capitalize;
}

.mst-calendar-nav {
    display: flex;
    gap: 8px;
}

.mst-calendar-nav button {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    color: #374151;
}

.mst-calendar-nav button:hover {
    background: var(--mst-primary);
    color: #fff;
    border-color: var(--mst-primary);
}

.mst-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.mst-calendar-weekday {
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: #9ca3af;
    padding: 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mst-calendar-day {
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    background: rgba(249, 250, 251, 0.5);
    color: #374151;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.mst-calendar-day:hover:not(.disabled):not(.empty) {
    background: rgba(153, 82, 224, 0.08);
    color: var(--mst-primary);
    border-color: rgba(153, 82, 224, 0.25);
}

.mst-calendar-day.selected {
    background: var(--mst-primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(153, 82, 224, 0.3);
}

.mst-calendar-day.today {
    border: 2px solid var(--mst-secondary);
}

.mst-calendar-day.disabled {
    color: #d1d5db;
    cursor: not-allowed;
    background: transparent;
}

.mst-calendar-day.empty {
    background: transparent;
    cursor: default;
    border-color: transparent;
}

.mst-calendar-day.has-slots::after {
    content: '';
    position: absolute;
    bottom: 5px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--mst-secondary);
}

/* Time Slots Section */
.mst-slots-section {
    padding: 0 22px 22px;
    display: none;
}

.mst-slots-section.active {
    display: block;
    animation: mstSlideIn 0.3s ease;
}

.mst-slots-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--mst-dark);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mst-slots-title svg {
    color: var(--mst-primary);
}

.mst-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(75px, 1fr));
    gap: 8px;
}

.mst-slot {
    padding: 11px 6px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

.mst-slot:hover:not(.disabled) {
    border-color: var(--mst-primary);
    background: rgba(153, 82, 224, 0.04);
    color: var(--mst-primary);
}

.mst-slot.selected {
    background: var(--mst-primary);
    color: #fff;
    border-color: var(--mst-primary);
    box-shadow: 0 4px 12px rgba(153, 82, 224, 0.25);
}

.mst-slot.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: #f3f4f6;
}

/* Booking Footer */
.mst-booking-footer {
    padding: 18px 22px;
    background: linear-gradient(135deg, rgba(249, 250, 251, 0.9), rgba(255, 255, 255, 0.7));
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.mst-booking-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    flex-wrap: wrap;
    gap: 10px;
}

.mst-booking-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--mst-dark);
}

.mst-booking-selected-info {
    font-size: 13px;
    color: var(--mst-gray);
}

.mst-booking-submit {
    width: 100%;
    padding: 15px 24px;
    background: linear-gradient(135deg, var(--mst-primary), var(--mst-primary-light));
    color: #fff;
    border: none;
    border-radius: var(--mst-border-radius-sm);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(153, 82, 224, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.mst-booking-submit:hover:not(:disabled) {
    box-shadow: 0 6px 20px rgba(153, 82, 224, 0.35);
}

.mst-booking-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.mst-booking-submit svg {
    width: 20px;
    height: 20px;
}

/* =============================================
   CHAT WIDGET
   ============================================= */

.mst-chat-widget {
    position: fixed;
    bottom: 24px;
    z-index: 9999;
}

.mst-chat-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--mst-primary), #7b3ec9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(153, 82, 224, 0.35);
    transition: all 0.25s ease;
    position: relative;
}

.mst-chat-toggle:hover {
    box-shadow: 0 6px 28px rgba(153, 82, 224, 0.45);
}

.mst-chat-toggle svg {
    width: 26px;
    height: 26px;
    color: #fff;
}

.mst-chat-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 11px;
    background: var(--mst-secondary);
    color: var(--mst-dark);
    font-size: 11px;
    font-weight: 700;
    display: none;
    align-items: center;
    justify-content: center;
}

.mst-chat-badge.show {
    display: flex;
}

.mst-chat-window {
    position: absolute;
    bottom: 70px;
    width: 360px;
    max-height: 480px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--mst-border-radius);
    border: 1px solid var(--mst-glass-border);
    box-shadow: var(--mst-shadow-lg);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.mst-chat-window.active {
    display: flex;
    animation: mstChatSlideUp 0.25s ease;
}

@keyframes mstChatSlideUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.mst-chat-header {
    padding: 16px 18px;
    background: linear-gradient(135deg, var(--mst-primary), #7b3ec9);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mst-chat-header h4 {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
}

.mst-chat-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.mst-chat-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.mst-chat-close svg {
    width: 16px;
    height: 16px;
    color: #fff;
}

.mst-chat-messages {
    flex: 1;
    padding: 18px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 240px;
    max-height: 340px;
}

.mst-chat-message {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.5;
}

.mst-chat-message.incoming {
    background: rgba(0, 0, 0, 0.05);
    border-bottom-left-radius: 4px;
    align-self: flex-start;
}

.mst-chat-message.outgoing {
    background: var(--mst-primary);
    color: #fff;
    border-bottom-right-radius: 4px;
    align-self: flex-end;
}

.mst-chat-input-area {
    padding: 14px 18px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    gap: 10px;
}

.mst-chat-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 24px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease;
}

.mst-chat-input:focus {
    border-color: var(--mst-primary);
}

.mst-chat-send {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--mst-primary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

.mst-chat-send:hover {
    background: #7b3ec9;
}

.mst-chat-send svg {
    width: 20px;
    height: 20px;
    color: #fff;
}

@media (max-width: 480px) {
    .mst-chat-window {
        width: calc(100vw - 40px);
        max-width: 360px;
    }
}

/* =============================================
   TOAST NOTIFICATIONS
   ============================================= */

.mst-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    padding: 14px 24px;
    border-radius: var(--mst-border-radius-sm);
    font-size: 14px;
    font-weight: 500;
    z-index: 999999;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: var(--mst-shadow-md);
}

.mst-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.mst-toast.success {
    background: #22c55e;
    color: #fff;
}

.mst-toast.error {
    background: #ef4444;
    color: #fff;
}

.mst-toast.info {
    background: var(--mst-primary);
    color: #fff;
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 640px) {
    .mst-modal {
        max-width: calc(100vw - 20px);
        border-radius: 16px;
    }

    .mst-modal-header {
        padding: 20px;
    }

    .mst-modal-body {
        padding: 20px;
    }

    .mst-modal-title {
        font-size: 20px;
    }

    .mst-modal-footer {
        flex-direction: column;
    }

    .mst-btn-next,
    .mst-btn-submit {
        max-width: none;
        width: 100%;
    }

    .mst-booking-container {
        border-radius: 16px;
    }

    .mst-calendar-section {
        padding: 18px;
    }

    .mst-calendar-day {
        height: 38px;
        font-size: 13px;
    }

    .mst-slots-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
