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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    background-color: #5a7a5a;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 40px auto;
}

.calendar-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 40px;
    margin-bottom: 30px;
}

h1 {
    color: white;
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    font-weight: 300;
}

.calendar-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.calendar {
    color: white;
}

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

.calendar-header button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    font-size: 20px;
}

.calendar-header button:hover {
    background: rgba(255, 255, 255, 0.1);
}

.calendar-header span {
    font-size: 16px;
}

.weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.weekday {
    text-align: center;
    font-size: 12px;
    opacity: 0.7;
    text-transform: uppercase;
}

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

.day {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    color: rgba(255, 255, 255, 0.5);
}

.day.other-month {
    color: rgba(255, 255, 255, 0.2);
}

.day.today {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.day.has-slots {
    background: white;
    color: #333;
    font-weight: 600;
}

.day.has-slots:hover {
    background: #f0f0f0;
}

.day.selected {
    background: white;
    color: #333;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5);
}

.day.past-day {
    opacity: 0.3;
    cursor: not-allowed !important;
    background: rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.day.fully-booked {
    background: rgba(220, 53, 69, 0.3);
    color: rgba(255, 255, 255, 0.6);
    cursor: not-allowed !important;
    position: relative;
    pointer-events: none;
}

.day.fully-booked::after {
    content: '✕';
    position: absolute;
    top: 2px;
    right: 4px;
    font-size: 10px;
    color: #ff6b6b;
    font-weight: bold;
}

.time-slots-wrapper {
    color: white;
}

.utc-label {
    background: rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 16px;
    font-size: 14px;
    display: inline-block;
}

#timeSlots {
    max-height: 400px;
    overflow-y: auto;
}

.time-slot {
    background: rgba(255, 255, 255, 0.3);
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.time-slot:hover {
    background: rgba(255, 255, 255, 0.4);
}

.time-slot.selected {
    background: white;
    color: #333;
}

.time-slot.booked {
    background: rgba(255, 255, 255, 0.15);
    cursor: not-allowed;
    opacity: 0.6;
}

.time-slot.booked:hover {
    background: rgba(255, 255, 255, 0.15);
}

.time-slot-time {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.time-slot-theme {
    font-size: 14px;
    opacity: 0.8;
}

.time-slot-duration {
    font-size: 12px;
    margin-top: 4px;
    opacity: 0.7;
}

.bottom-section {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
}

.profile-box, .form-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 40px;
}

.profile-box {
    text-align: center;
    color: white;
}

.profile-img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 16px;
    margin: 0 auto 20px;
    display: block;
}

.profile-box h2 {
    font-size: 24px;
    margin-bottom: 16px;
    font-weight: 400;
}

.profile-box p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.9;
}

.form-box {
    color: white;
}

.form-box h2 {
    font-size: 24px;
    margin-bottom: 24px;
    font-weight: 400;
}

.booking-summary {
    background: rgba(255, 255, 255, 0.15);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.booking-summary h3 {
    margin-bottom: 16px;
    font-size: 18px;
}

.booking-summary-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.booking-summary-item:last-child {
    border-bottom: none;
}

.booking-summary-label {
    opacity: 0.8;
}

.booking-summary-value {
    font-weight: 600;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

input, textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 14px;
    font-family: inherit;
}

input::placeholder, textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

input:focus, textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.25);
}

textarea {
    resize: none;
    margin-bottom: 16px;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.9);
    color: #5a7a5a;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-btn:hover:not(:disabled) {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Scrollbar */
#timeSlots::-webkit-scrollbar {
    width: 6px;
}

#timeSlots::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

#timeSlots::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

#timeSlots::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* Notification Toast */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    color: #333;
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 300px;
    max-width: 500px;
    animation: slideIn 0.3s ease-out;
}

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

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

.notification.hide {
    animation: slideOut 0.3s ease-in forwards;
}

.notification.success {
    border-left: 4px solid #10b981;
}

.notification.error {
    border-left: 4px solid #ef4444;
}

.notification-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.notification.success .notification-icon {
    color: #10b981;
}

.notification.error .notification-icon {
    color: #ef4444;
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 4px;
}

.notification-message {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.notification-close {
    background: none;
    border: none;
    color: #999;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
}

.notification-close:hover {
    background: #f3f4f6;
    color: #333;
}

/* Responsive */
@media (max-width: 968px) {
    .calendar-grid {
        grid-template-columns: 1fr;
    }
    
    .bottom-section {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .notification {
        top: 10px;
        right: 10px;
        left: 10px;
        min-width: auto;
    }
}