/* Custom Styles for Web Komersial */

/* Prevent Horizontal Scroll on Mobile */
html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

/* Glassmorphism Utilities */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-dark {
    background: rgba(17, 24, 39, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Calendar Styles (Dark Theme for Sidebar) */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.25rem;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 99px; /* Circle */
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.85rem;
    color: #e2e8f0; /* text-slate-200 */
}

.calendar-day:hover:not(.disabled):not(.empty):not(.booked) {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.calendar-day.empty {
    cursor: default;
    background: transparent;
}

.calendar-day.today {
    border: 1px solid #3b82f6;
    color: #60a5fa;
    font-weight: bold;
}

/* Gray for booked */
.calendar-day.booked {
    background-color: #334155; /* Slate-700 */
    color: #94a3b8; /* Slate-400 */
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Red for Holiday */
.calendar-day.holiday {
    color: #f87171; /* Red-400 */
}

.calendar-day.booked.holiday {
    color: #94a3b8; /* Gray overrides red */
}

.calendar-day.selected {
    background-color: #2463eb;
    color: white;
    box-shadow: 0 4px 6px -1px rgba(36, 99, 235, 0.3);
}

/* Chatbot Styles */
.chat-window {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: bottom right;
}

.chat-message {
    max-width: 80%;
    margin-bottom: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    line-height: 1.4;
}

.chat-message.user {
    background-color: #2463eb;
    color: white;
    margin-left: auto;
    border-bottom-right-radius: 0.25rem;
}

.chat-message.bot {
    background-color: #f1f5f9;
    color: #334155;
    margin-right: auto;
    border-bottom-left-radius: 0.25rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.3s ease-out forwards;
}

/* Form Helper Classes */
.form-step {
    animation: fadeIn 0.4s ease-out;
}

.step-indicator.active {
    background-color: #2463eb;
    color: white;
}