/* 小夜工具网站样式 */

body {
    font-family: 'Microsoft YaHei', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.footer {
    margin-top: auto;
    padding: 20px 0;
}

/* 首页样式 */
.display-4 {
    font-weight: 600;
    color: #333;
}

.card {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    border: none;
    transition: transform 0.3s ease;
}

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

.card-header {
    font-weight: 600;
}

.card-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

/* 工具页面公共样式 */
.tool-container {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 表单元素样式 */
.form-control:focus, .form-select:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.btn {
    border-radius: 3px;
    font-weight: 500;
}

/* 自定义按钮悬停效果 */
.btn-primary:hover {
    background-color: #0069d9;
    border-color: #0062cc;
}

.btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

/* 响应式调整 */
@media (max-width: 767.98px) {
    .card-header h3 {
        font-size: 1.2rem;
    }
    .display-4 {
        font-size: 2.5rem;
    }
} 