* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: white;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

/* Header */
.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 212, 138, 0.2);
    margin-bottom: 30px;
    gap: 15px;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(255, 212, 138, 0.3));
    transition: filter 0.3s ease;
}

.logo:hover {
    filter: drop-shadow(0 0 15px rgba(255, 212, 138, 0.5));
}

.social-info {
    display: flex;
    align-items: center;
}

.instagram-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffd48a;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 16px;
    border: 2px solid #ffd48a;
    border-radius: 25px;
    transition: all 0.3s ease;
    background: transparent;
}

.instagram-link:hover {
    background: rgba(255, 212, 138, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 212, 138, 0.2);
    color: #ffd48a;
    text-decoration: none;
}

.instagram-link i {
    font-size: 18px;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.chatbot-container {
    width: 100%;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 212, 138, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: slideUp 0.6s ease-out;
}

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

/* Chat Header */
.chat-header {
    background: linear-gradient(135deg, #ffd48a 0%, #ffb347 100%);
    color: #000;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.chat-avatar {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.chat-title h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 2px;
}

.status {
    font-size: 14px;
    opacity: 0.8;
    display: flex;
    align-items: center;
}

.status::before {
    content: "●";
    color: #00ff00;
    margin-right: 5px;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

/* Chat Messages */
.chat-messages {
    height: 400px;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: #ffd48a;
    border-radius: 3px;
}

.message {
    display: flex;
    margin-bottom: 15px;
    animation: fadeInUp 0.4s ease-out;
}

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

.message.bot {
    justify-content: flex-start;
}

.message.user {
    justify-content: flex-end;
}

.message-content {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.4;
    position: relative;
}

.message.bot .message-content {
    background: linear-gradient(135deg, #ffd48a 0%, #ffb347 100%);
    color: #000;
    border-bottom-left-radius: 6px;
}

.message.user .message-content {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-bottom-right-radius: 6px;
    border: 1px solid rgba(255, 212, 138, 0.3);
}

/* Chat Input */
.chat-input-container {
    padding: 20px;
    border-top: 1px solid rgba(255, 212, 138, 0.2);
}

.input-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
}

#messageInput {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid rgba(255, 212, 138, 0.3);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

#messageInput:focus {
    border-color: #ffd48a;
    box-shadow: 0 0 0 3px rgba(255, 212, 138, 0.1);
}

#messageInput:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#sendButton {
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffd48a 0%, #ffb347 100%);
    color: #000;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 212, 138, 0.3);
}

#sendButton:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 212, 138, 0.4);
}

#sendButton:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Chat Buttons */
.chat-buttons {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid rgba(255, 212, 138, 0.2);
}

.option-button {
    padding: 12px 20px;
    border: 2px solid #ffd48a;
    border-radius: 25px;
    background: transparent;
    color: #ffd48a;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.option-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 212, 138, 0.1), transparent);
    transition: left 0.5s ease;
}

.option-button:hover {
    background: rgba(255, 212, 138, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 212, 138, 0.2);
}

.option-button:hover::before {
    left: 100%;
}

.option-button:active {
    transform: translateY(0);
}

/* Footer */
.footer {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 212, 138, 0.2);
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .header {
        gap: 10px;
    }
    
    .logo {
        height: 50px;
    }
    
    .instagram-link {
        font-size: 14px;
        padding: 6px 12px;
    }
    
    .chatbot-container {
        margin: 0;
        border-radius: 15px;
    }
    
    .chat-messages {
        height: 350px;
    }
    
    .message-content {
        max-width: 90%;
        font-size: 13px;
    }
    
    .chat-header {
        padding: 15px;
    }
    
    .chat-header h2 {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .chat-messages {
        height: 300px;
        padding: 15px;
    }
    
    .chat-input-container,
    .chat-buttons {
        padding: 15px;
    }
    
    .option-button {
        padding: 10px 16px;
        font-size: 13px;
    }
}

/* Loading Animation */
.typing-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #ffd48a 0%, #ffb347 100%);
    color: #000;
    border-radius: 18px;
    border-bottom-left-radius: 6px;
    max-width: fit-content;
}

.typing-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #000;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typing {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Smooth transitions */
.hidden {
    display: none !important;
}

.fade-in {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Calendar Styles */
.calendar-container {
    padding: 20px;
    border-top: 1px solid rgba(255, 212, 138, 0.2);
}

.calendar {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(255, 212, 138, 0.3);
    max-width: 350px;
    margin: 0 auto;
}

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

.calendar-nav {
    background: transparent;
    border: 2px solid #ffd48a;
    color: #ffd48a;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
}

.calendar-nav:hover:not(:disabled) {
    background: rgba(255, 212, 138, 0.1);
    transform: scale(1.1);
}

.calendar-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.calendar-month-year {
    color: #ffd48a;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    min-width: 150px;
}

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

.calendar-day-header {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 4px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    min-height: 35px;
}

.calendar-day.other-month {
    color: rgba(255, 255, 255, 0.3);
    cursor: not-allowed;
}

.calendar-day.disabled {
    color: rgba(255, 255, 255, 0.3);
    cursor: not-allowed;
}

.calendar-day.available {
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.calendar-day.available:hover {
    background: rgba(255, 212, 138, 0.2);
    border-color: #ffd48a;
    transform: scale(1.1);
}

.calendar-day.selected {
    background: linear-gradient(135deg, #ffd48a 0%, #ffb347 100%);
    color: #000;
    font-weight: 600;
    border: none;
}

.calendar-day.today {
    border: 2px solid #ffd48a;
}

.calendar-day.today.available {
    border: 2px solid #ffd48a;
}

.calendar-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
}

.calendar-confirm-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, #ffd48a 0%, #ffb347 100%);
    color: #000;
    border: none;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.calendar-confirm-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 212, 138, 0.3);
}

.calendar-confirm-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.calendar-cancel-btn {
    padding: 10px 20px;
    background: transparent;
    color: #ffd48a;
    border: 2px solid #ffd48a;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.calendar-cancel-btn:hover {
    background: rgba(255, 212, 138, 0.1);
    transform: translateY(-2px);
}

/* Responsive Calendar */
@media (max-width: 480px) {
    .calendar {
        padding: 15px;
        max-width: 300px;
    }
    
    .calendar-day {
        font-size: 12px;
        min-height: 30px;
    }
    
    .calendar-month-year {
        font-size: 14px;
        min-width: 120px;
    }
    
    .calendar-nav {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
}

