/* ===============================================
   TOAST NOTIFICATION STYLES
   =============================================== */

.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background: white;
    border-radius: 12px;
    padding: 16px 20px;
    min-width: 320px;
    max-width: 400px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    pointer-events: all;
    animation: slideIn 0.3s ease-out;
    position: relative;
    overflow: hidden;
}

.toast::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
}

.toast.success::before {
    background: linear-gradient(135deg, #10b981, #059669);
}

.toast.error::before {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.toast.info::before {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.toast.warning::before {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.toast-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.toast.success .toast-icon {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.toast.error .toast-icon {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.toast.info .toast-icon {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
}

.toast.warning .toast-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.toast-content {
    flex: 1;
    padding-top: 2px;
}

.toast-title {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 4px 0;
}

.toast-message {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

.toast-close {
    flex-shrink: 0;
    background: none;
    border: none;
    color: #9ca3af;
    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;
}

.toast-close:hover {
    background: #f3f4f6;
    color: #4b5563;
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(0, 0, 0, 0.1);
    animation: progress 5s linear;
}

@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;
    }
}

@keyframes progress {
    from {
        width: 100%;
    }
    to {
        width: 0%;
    }
}

.toast.hiding {
    animation: slideOut 0.3s ease-in forwards;
}

/* Responsive */
@media (max-width: 768px) {
    .toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
    }
    
    .toast {
        min-width: auto;
        max-width: 100%;
    }
}

/* Success Modal for Booking */
.booking-success-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99998;
    animation: fadeIn 0.3s ease-out;
    padding: 20px;
}

.booking-success-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    animation: scaleIn 0.3s ease-out;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.booking-success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    animation: bounceIn 0.6s ease-out;
}

.booking-success-icon i {
    font-size: 40px;
    color: white;
}

/* Cancellation Modal */
.cancellation-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99998;
    animation: fadeIn 0.3s ease-out;
    padding: 20px;
}

.cancellation-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    animation: scaleIn 0.3s ease-out;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.cancellation-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    animation: bounceIn 0.6s ease-out;
}

.cancellation-icon i {
    font-size: 40px;
    color: white;
}

.cancellation-title {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 10px 0;
}

.cancellation-message {
    font-size: 16px;
    color: #6b7280;
    margin: 0 0 30px 0;
    line-height: 1.6;
}

.cancellation-details {
    background: #fef3c7;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: left;
    border: 2px solid #fbbf24;
}

.cancellation-refund-box {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.cancellation-refund-label {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 5px;
}

.cancellation-refund-amount {
    font-size: 32px;
    font-weight: 700;
}

.cancellation-button {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.cancellation-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.booking-success-title {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 10px 0;
}

.booking-success-message {
    font-size: 16px;
    color: #6b7280;
    margin: 0 0 30px 0;
    line-height: 1.6;
}

.booking-success-details {
    background: #f9fafb;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: left;
}

.booking-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e5e7eb;
}

.booking-detail-row:last-child {
    border-bottom: none;
}

.booking-detail-label {
    font-weight: 600;
    color: #4b5563;
}

.booking-detail-value {
    color: #1f2937;
}

.booking-success-button {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.booking-success-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .booking-success-content {
        padding: 30px 20px;
    }
    
    .booking-success-title {
        font-size: 24px;
    }
    
    .booking-success-icon {
        width: 70px;
        height: 70px;
    }
    
    .booking-success-icon i {
        font-size: 35px;
    }
}

/* Reschedule Success Modal */
.reschedule-success-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99998;
    animation: fadeIn 0.3s ease-out;
    padding: 20px;
}

.reschedule-success-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    animation: scaleIn 0.3s ease-out;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.reschedule-success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #007b5d, #00a876);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    animation: bounceIn 0.6s ease-out;
}

.reschedule-success-icon i {
    font-size: 40px;
    color: white;
}

.reschedule-success-title {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 10px 0;
}

.reschedule-success-message {
    font-size: 16px;
    color: #6b7280;
    margin: 0 0 30px 0;
    line-height: 1.6;
}

.reschedule-success-details {
    background: #e8f5f1;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: left;
    border: 2px solid #007b5d;
}

.reschedule-success-button {
    background: linear-gradient(135deg, #007b5d, #00a876);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.reschedule-success-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 123, 93, 0.3);
    background: linear-gradient(135deg, #006b4f, #009668);
}

@media (max-width: 768px) {
    .reschedule-success-content {
        padding: 30px 20px;
    }
    
    .reschedule-success-title {
        font-size: 24px;
    }
    
    .reschedule-success-icon {
        width: 70px;
        height: 70px;
    }
    
    .reschedule-success-icon i {
        font-size: 35px;
    }
}
