/* 供热交费平台样式文件 - 纯蓝色配色主题 */

/* 全局样式 */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #F0F8FF;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* 导航栏样式 */
.navbar {
    background: #4A90E2 !important;
    box-shadow: 0 4px 20px rgba(74, 144, 226, 0.15);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.navbar-nav .nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin: 0 0.25rem;
}

.navbar-nav .nav-link:hover {
    color: white !important;
    background: rgba(255,255,255,0.1);
    transform: translateY(-1px);
}

.navbar-nav .nav-link.active {
    background: rgba(255,255,255,0.2);
    color: white !important;
}

/* 卡片样式 */
.card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.card-header {
    border-bottom: 1px solid rgba(0,0,0,0.05);
    background: #4A90E2;
    color: white;
    font-weight: 600;
    padding: 1.25rem 1.5rem;
}

.card-body {
    padding: 1.5rem;
}

/* 按钮样式 */
.btn {
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    padding: 0.75rem 1.5rem;
    margin: 0.25rem;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-primary {
    background: #4A90E2;
    border: 1px solid #4A90E2;
}

.btn-success {
    background: linear-gradient(135deg, #228B22 0%, #32CD32 100%);
    border: 1px solid #228B22;
}

.btn-warning {
    background: linear-gradient(135deg, #FF8C00 0%, #FFA500 100%);
    border: 1px solid #FF8C00;
}

.btn-info {
    background: linear-gradient(135deg, #5F9EA0 0%, #B0E0E6 100%);
    border: 1px solid #4A90E2;
}

/* 表单样式 */
.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #4A90E2;
    box-shadow: 0 0 0 0.2rem rgba(74, 144, 226, 0.25);
}

.form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
}

/* 页面标题 */
.page-title {
    text-align: center;
    margin: 2rem 0;
    color: #2c3e50;
    font-weight: 700;
    font-size: 2.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* 功能卡片 */
.feature-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #4A90E2;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
        margin: 1.5rem 0;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 状态指示器 */
.status-success {
    color: #28a745;
    font-weight: 600;
}

.status-warning {
    color: #ffc107;
    font-weight: 600;
}

.status-error {
    color: #dc3545;
    font-weight: 600;
}

/* 表格样式 */
.table {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.table thead th {
    background: #4A90E2;
    color: white;
    border: none;
    font-weight: 600;
}

.table tbody tr:hover {
    background-color: rgba(74, 144, 226, 0.05);
}

/* 警告框样式 */
.alert {
    border-radius: 10px;
    border: none;
    padding: 1rem 1.5rem;
}

.alert-success {
    background: linear-gradient(135deg, #F0FFF0 0%, #E6FFE6 100%);
    color: #228B22;
    border-left: 4px solid #32CD32;
}

.alert-warning {
    background: linear-gradient(135deg, #E6F3FF 0%, #B3D9FF 100%);
    color: #2E5B8A;
    border-left: 4px solid #4A90E2;
}

.alert-danger {
    background: linear-gradient(135deg, #FFE4E1 0%, #FFB6C1 100%);
    color: #DC143C;
    border-left: 4px solid #FF6347;
}

/* 淡蓝色质感效果 */
.blue-effect {
    background: #4A90E2;
    position: relative;
    overflow: hidden;
}

/* 淡蓝色高光效果 */
.blue-highlight {
    color: #4682B4;
    text-shadow: 0 0 10px rgba(70, 130, 180, 0.4);
}

/* 淡蓝色文字 */
.blue-text {
    color: #4A90E2;
    font-weight: bold;
}
