﻿/* 自定义样式 */

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --success-color: #27ae60;
    --warning-color: #f39c12;
}

.page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main {
    flex: 1;
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-color), #34495e);
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.service-card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

    .service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }

.service-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-request-card {
    transition: all 0.2s ease;
    border-left: 4px solid var(--secondary-color);
}

    .service-request-card:hover {
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        transform: translateX(2px);
    }

.footer {
    margin-top: auto;
    background: var(--primary-color) !important;
}

.social-links a {
    transition: color 0.3s ease;
    text-decoration: none;
}

    .social-links a:hover {
        color: var(--secondary-color) !important;
    }

.btn {
    transition: all 0.3s ease;
    border-radius: 6px;
}

.card {
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 10px;
}

.card-header {
    background: white;
    border-bottom: 1px solid #eee;
    font-weight: 600;
}
/* 响应式调整 */ @media (max-width: 768px) {
    .display-4 {
        font-size: 2rem;
    }

    .hero-section {
        text-align: center;
        padding: 3rem 1rem !important;
    }

    .btn-group .btn {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
}
/* 模态框动画 */ .modal-content {
    border: none;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
/* 表单样式 */ .form-control, .form-select {
    border-radius: 6px;
    border: 1px solid #ddd;
    padding: 0.75rem;
}

    .form-control:focus, .form-select:focus {
        border-color: var(--secondary-color);
        box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
    }
/* 徽章样式 */ .badge {
    font-weight: 500;
    padding: 0.35em 0.65em;
}
/* 表格样式 */ .table th {
    border-top: none;
    font-weight: 600;
    color: var(--primary-color);
}
/* Blazor特定样式 */ #blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
