
/* 悬浮上传按钮 (Floating Action Button) */
.fab-upload {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #ff69b4;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1000;
    border: 3px solid #fff;
}

.fab-upload:hover {
    transform: scale(1.1) rotate(90deg);
    background: #ff1493;
    box-shadow: 0 6px 20px rgba(255, 20, 147, 0.5);
}

.fab-upload:active {
    transform: scale(0.95);
}

/* 模态框自定义样式 */
.modal-content.birthday-modal {
    border-radius: 20px;
    border: none;
    background: linear-gradient(135deg, #fff 0%, #fff5f8 100%);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.birthday-modal .modal-header {
    border-bottom: 1px dashed #ffd1dc;
    padding: 1.5rem;
}

.birthday-modal .modal-title {
    color: #ff69b4;
    font-weight: bold;
    font-family: 'Comic Sans MS', sans-serif;
}

.birthday-modal .modal-body {
    padding: 2rem;
}

.birthday-modal .form-control {
    border-radius: 10px;
    border: 1px solid #ffd1dc;
    padding: 0.8rem;
}

.birthday-modal .form-control:focus {
    border-color: #ff69b4;
    box-shadow: 0 0 0 0.25rem rgba(255, 105, 180, 0.25);
}

.birthday-modal .btn-primary {
    background: #ff69b4;
    border: none;
    border-radius: 50px;
    padding: 0.8rem 2rem;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(255, 105, 180, 0.3);
    transition: all 0.3s ease;
}

.birthday-modal .btn-primary:hover {
    background: #ff1493;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 20, 147, 0.4);
}

/* 自定义文件上传区域 */
.custom-upload-area {
    border: 2px dashed #ffd1dc;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    background-color: #fff;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-height: 200px; /* 设置最小高度 */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.custom-upload-area:hover, .custom-upload-area.dragover {
    border-color: #ff69b4;
    background-color: rgba(255, 105, 180, 0.05);
}

.custom-upload-area .upload-icon {
    font-size: 3rem;
    color: #ffd1dc;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.custom-upload-area:hover .upload-icon {
    color: #ff69b4;
    transform: scale(1.1);
}

.custom-upload-area .upload-text {
    color: #6c757d;
    font-size: 0.9rem;
}

.custom-upload-area .upload-text strong {
    color: #ff69b4;
}

/* 图片预览 */
.upload-preview {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 5;
}

.upload-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.upload-preview .remove-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dc3545;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}

.upload-preview .remove-btn:hover {
    background: #fff;
    transform: scale(1.1);
}
