/* Notification styles */
.notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 15px 25px;
    border-radius: 5px;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: slideIn 0.3s ease-out forwards;
}

.notification.success {
    background-color: #4CAF50;
}

.notification.error {
    background-color: #f44336;
}

.notification i {
    font-size: 20px;
}

/* Booking confirmation modal styles */
#bookingConfirmationModal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s;
}

#bookingConfirmationModal .modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s;
}

#bookingConfirmationModal .modal-icon {
    font-size: 60px;
    color: #4CAF50;
    margin-bottom: 20px;
}

#bookingConfirmationModal .modal-icon .fa-check-circle {
    animation: bounceIn 0.5s;
}

#bookingConfirmationModal .close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    color: #aaa;
    cursor: pointer;
}

#bookingConfirmationModal .close-modal:hover {
    color: #333;
}

#bookingConfirmationModal #modalTitle {
    color: #333;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

#bookingConfirmationModal #modalMessage {
    color: #555;
    margin-bottom: 25px;
    line-height: 1.6;
}

#bookingConfirmationModal #modalCloseBtn {
    background-color: #d4af87;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

#bookingConfirmationModal #modalCloseBtn:hover {
    background-color: #c19a6b;
}

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

@keyframes slideDown {
    from { 
        transform: translateY(-50px);
        opacity: 0;
    }
    to { 
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes bounceIn {
    0% { 
        transform: scale(0.5);
        opacity: 0;
    }
    50% { 
        transform: scale(1.2);
    }
    100% { 
        transform: scale(1);
        opacity: 1;
    }
}

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

/* Style dla ikony błędu */
#bookingConfirmationModal .modal-icon .fa-times-circle {
    color: #f44336;
    animation: shake 0.5s;
}

/* Animacja dla ikony błędu */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
}

.reschedule-confirmation {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.date-change {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
}

.change-from, .change-to {
    margin: 10px 0;
}

.change-label {
    display: block;
    font-size: 0.9em;
    color: #6c757d;
}

.change-date {
    font-weight: bold;
    font-size: 1.1em;
}

.change-arrow {
    color: #2196F3;
    margin: 5px 0;
}

.service-info {
    margin: 15px 0;
    font-size: 1.1em;
}

.important-notes {
    margin-top: 20px;
    text-align: left;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.important-notes i {
    color: #28a745;
    margin-right: 8px;
}