#birthday-modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: modalSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    box-sizing: border-box;
}

#birthday-modal-header {
    border-bottom: 2px solid #e0e0e0;
    animation: contentAppear 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #f2a8bb;
    color: #ffffff;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#birthday-modal-header h3 {
    margin-left: 1.5em;
}

#birthday-modal-content {
    background-color: #ffffff;
    margin: 60px auto 60px;
    padding: 1rem;
    width: calc(90% - 20px);
    max-width: calc(500px - 20px);
    max-height: calc(100vh - 120px);
    position: relative;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
}

#birthday-modal-footer {
    padding: 1rem 0;
    margin-top: 1rem;
}

#birthday-modal-footer-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

#birthday-modal-footer-buttons button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 0.7em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 100px;
}

#save-birthday {
    background-color: #f2a8bb;
    color: white;
}

#save-birthday:hover {
    background-color: #e895a8;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(242, 168, 187, 0.3);
}

#cancel-birthday {
    background-color: #f5f5f5;
    color: #666;
    border: 1px solid #ddd;
}

#cancel-birthday:hover {
    background-color: #e8e8e8;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}