
/* dating_member_management_6252/frontend/css/style.css */
/* 基础样式设置 */
:root {
    --primary-color: #e52e71;
    --secondary-color: #ff8a00;
    --text-color: #333;
    --light-bg: #f5f7fa;
    --card-bg: rgba(255, 255, 255, 0.9);
    --hover-color: rgba(229, 46, 113, 0.1);
    --border-radius: 12px;
    --transition: all 0.3s ease;
    --shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    --hover-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* 详情弹窗样式 */
.detail-modal {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-height: 90vh;
    overflow-y: auto;
    width: 90%;
    max-width: 800px;
    padding: 24px;
}

.detail-media-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.detail-media-item {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.detail-media-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.detail-media-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.detail-media-item video {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.detail-media-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
}

.detail-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.detail-info-item {
    background: rgba(229, 46, 113, 0.05);
    padding: 12px;
    border-radius: 8px;
}

.detail-info-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
}

.detail-info-value {
    font-weight: 500;
    color: #333;
}

/* 保留原有卡片样式 */
.card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

/* 资料管理表格样式 */
.profile-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.profile-table th {
    background: linear-gradient(90deg, #e52e71 0%, #ff8a00 100%);
    color: white;
    padding: 12px 16px;
    text-align: left;
}

.profile-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
}

.profile-table tr:last-child td {
    border-bottom: none;
}

.profile-table tr:hover {
    background-color: rgba(229, 46, 113, 0.05);
}
