/* Chatbot Styles */
.chat-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 24px rgba(36,83,82,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: all 0.3s ease;
    animation: bounce-glow 2s infinite;
}

.chat-button:hover {
    box-shadow: 0 8px 32px 0 #24535244, 0 0 16px 8px #24535233;
}

.chat-window {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 500px;
    height: 800px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    z-index: 1000;
    overflow: hidden;
}

.chat-window.active {
    display: flex;
}

.chat-header {
    background-color: #245352;
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h3 {
    margin: 0;
    font-size: 18px;
}

.close-button {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.close-button:hover {
    background-color: #1a3d3d;
}

.chat-messages {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.message {
    max-width: 85%;
    padding: 12px;
    border-radius: 8px;
    font-size: 16px;
    line-height: 1.5;
    white-space: pre-line;
}

.message.user {
    background-color: #245352;
    color: white;
    align-self: flex-end;
}

.message.bot {
    background-color: #f1f1f1;
    color: #333;
    align-self: flex-start;
}

.chat-input {
    padding: 15px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
}

.message-input {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
    font-size: 16px;
    height: 40px;
}

.message-input:focus {
    border-color: #245352;
    box-shadow: 0 0 0 2px rgba(36, 83, 82, 0.1);
}

.send-button {
    background-color: #245352;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.send-button:hover {
    background-color: #1a3d3d;
}

/* Options styles */
.options-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 12px;
}

.option-button {
    background-color: #245352;
    color: white;
    border: 1px solid #245352;
    border-radius: 4px;
    padding: 8px 12px;
    cursor: pointer;
    text-align: left;
    font-size: 14px;
    transition: all 0.3s ease;
    height: auto;
}

.option-button:hover {
    background-color: #1a3d3d;
    border-color: #1a3d3d;
}

.option-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Calendar styles */
.calendar-container {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin: 10px 0;
    width: 100%;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.calendar-header button {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 5px 10px;
    color: #245352;
}

.calendar-header button:hover {
    background-color: #f0f0f0;
    border-radius: 4px;
}

.current-month {
    font-weight: 600;
    color: #245352;
}

.calendar-grid {
    width: 100%;
}

.weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: 600;
    color: #666;
    margin-bottom: 10px;
}

.days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.day:hover:not(.disabled):not(.empty) {
    background-color: #f0f0f0;
}

.day.selected {
    background-color: #245352;
    color: white;
}

.day.disabled {
    color: #ccc;
    cursor: not-allowed;
}

.day.empty {
    cursor: default;
}

/* Summary styles */
.summary-container {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 18px 18px 10px 18px;
    margin: 15px 0;
    max-height: 450px;
    overflow-y: auto;
    width: 100%;
}

.order-summary {
    background: none;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
    overflow: visible;
    width: 100%;
}

.summary-header {
    background: none;
    color: #245352;
    padding: 0 0 10px 0;
    text-align: left;
}

.summary-header h3 {
    margin: 0 0 10px 0;
    font-size: 1.2em;
}

.summary-content {
    padding: 0;
}

.summary-section {
    margin-bottom: 18px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.summary-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.summary-section h4 {
    color: #333;
    margin: 0 0 10px 0;
    font-size: 1.05em;
}

.summary-item {
    display: flex;
    margin-bottom: 7px;
    line-height: 1.4;
    font-size: 1em;
}

.summary-item .label {
    flex: 0 0 120px;
    color: #666;
    font-weight: 500;
}

.summary-item .value {
    flex: 1;
    color: #333;
}

.summary-footer {
    padding: 0;
    background: none;
    text-align: center;
    border-top: none;
    margin-top: 10px;
}

.submit-order {
    background: #28a745;
    color: white;
    border: none;
    padding: 10px 28px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
    min-width: unset;
    display: inline-block;
    box-shadow: 0 2px 4px rgba(40,167,69,0.08);
}

.submit-order:hover {
    background: #218838;
}

.submit-order:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

/* Input field styles */
.message-input[type="email"],
.message-input[type="tel"],
.message-input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
    font-size: 16px;
    height: 40px;
}

/* Animation */
@keyframes bounce-glow {
    0%, 100% { 
        transform: translateY(0); 
        box-shadow: 0 4px 24px rgba(36,83,82,0.18), 0 0 0 0 #24535244; 
    }
    50% { 
        transform: translateY(-8px); 
        box-shadow: 0 8px 32px 0 #24535244, 0 0 16px 8px #24535233; 
    }
}

/* Style for N/A values */
.summary-item .value:empty::after {
    content: 'N/A';
    color: #999;
    font-style: italic;
}

/* Add some spacing between sections */
.summary-section + .summary-section {
    margin-top: 20px;
}

/* Make sure the summary is properly contained within the chat window */
.chat-messages .summary-container {
    margin: 15px 0;
    width: 100%;
} 