/* Birthday Popup Modal Styles */
.birthday-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease-in;
}

.birthday-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.birthday-modal-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.4s ease-out;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

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

.birthday-modal-header {
    padding: 30px 30px 20px;
    text-align: center;
    position: relative;
}

.birthday-icon {
    font-size: 60px;
    margin-bottom: 15px;
    animation: bounce 1s ease infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.birthday-modal-header h2 {
    color: white;
    font-size: 28px;
    margin: 0;
    font-family: "Vazirmatn", sans-serif;
    font-weight: 700;
}

.birthday-close {
    position: absolute;
    left: 20px;
    top: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 30px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.birthday-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.birthday-modal-body {
    background: white;
    padding: 20px 30px;
    max-height: 400px;
    overflow-y: auto;
}

.birthday-loading {
    text-align: center;
    color: #666;
    padding: 40px 20px;
    font-family: "Vazirmatn", sans-serif;
}

.birthday-item {
    display: flex;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #f5f7Fa 0%, #c3cfe2 100%);
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.birthday-item:hover {
    transform: translateX(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.birthday-item-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-left: 15px;
    flex-shrink: 0;
}

.birthday-item-info {
    flex: 1;
}

.birthday-item-name {
    font-weight: 700;
    color: #2c3e50;
    font-size: 16px;
    margin-bottom: 5px;
    font-family: "Vazirmatn", sans-serif;
}

.birthday-item-type {
    color: #7f8c8d;
    font-size: 14px;
    font-family: "Vazirmatn", sans-serif;
}

.birthday-item-date {
    background: #667eea;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    font-family: "Vazirmatn", sans-serif;
}

.birthday-no-birthdays {
    text-align: center;
    padding: 40px 20px;
    color: #7f8c8d;
    font-family: "Vazirmatn", sans-serif;
}

.birthday-no-birthdays-icon {
    font-size: 50px;
    margin-bottom: 15px;
}

.birthday-modal-footer {
    padding: 20px 30px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
}

.birthday-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-family: "Vazirmatn", sans-serif;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.birthday-btn:hover {
    background: white;
    color: #667eea;
}

/* Responsive */
@media (max-width: 768px) {
    .birthday-modal-content {
        width: 95%;
        max-height: 90vh;
    }

    .birthday-modal-header h2 {
        font-size: 24px;
    }

    .birthday-icon {
        font-size: 50px;
    }

    .birthday-item {
        padding: 12px;
    }

    .birthday-item-avatar {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}
