/**
 * Стили для уведомлений о приходе пациента
 */

.patient-arrived-notification {
    position: fixed;
    top: 120px;
    right: -400px;
    width: 350px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    transition: right 0.3s ease-out, opacity 0.3s ease-out;
    opacity: 0;
    overflow: hidden;
}

.patient-arrived-notification.show {
    right: 20px;
    opacity: 1;
}

.patient-arrived-notification.fade-out {
    right: -400px;
    opacity: 0;
}

.patient-arrived-header {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    border-radius: 10px 10px 0 0;
}

.patient-arrived-icon {
    font-size: 20px;
    margin-right: 10px;
}

.patient-arrived-title {
    flex: 1;
    font-weight: 600;
    font-size: 16px;
}

.patient-arrived-close {
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    width: 28px;
    height: 28px;
    line-height: 1;
    transition: transform 0.2s, opacity 0.2s;
    opacity: 0.9;
}

.patient-arrived-close:hover {
    transform: scale(1.2);
    opacity: 1;
}

.patient-arrived-body {
    padding: 16px;
    background: #f8f9fa;
}

.patient-arrived-info {
    margin-top: 0;
}

.patient-arrived-name {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 6px;
}

.patient-arrived-meta {
    display: block;
    font-size: 14px;
    color: #6c757d;
}

.patient-arrived-footer {
    padding: 12px 16px;
    background: #ffffff;
    border-top: 1px solid #e9ecef;
    text-align: right;
}

.patient-arrived-footer .btn {
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.patient-arrived-footer .btn-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
}

.patient-arrived-footer .btn-primary:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.patient-arrived-footer .btn-primary:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .patient-arrived-notification {
        width: calc(100% - 40px);
        right: -100%;
        top: 10px;
    }

    .patient-arrived-notification.show {
        right: 20px;
    }

    .patient-arrived-notification.fade-out {
        right: -100%;
    }
}