/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 100%;
    padding: 15px;
    margin: 0 auto;
}

/* 登录页面样式 */
.login-box {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 50px auto;
    max-width: 400px;
}

.logo {
    text-align: center;
    margin-bottom: 30px;
}

.logo h1 {
    color: #1e88e5;
    font-size: 24px;
    margin-bottom: 5px;
}

.logo p {
    color: #757575;
    font-size: 16px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

.input-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.btn-group {
    margin-top: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s;
}

.btn-primary {
    background-color: #1e88e5;
    color: white;
    width: 100%;
}

.btn-primary:hover {
    background-color: #1976d2;
}

/* 催费单据页面样式 */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.header h1 {
    color: #1e88e5;
    font-size: 20px;
}

.logout-btn {
    color: #f44336;
    text-decoration: none;
    font-size: 14px;
}

.document-box {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}

.document-box h2 {
    color: #333;
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.document-info {
    margin-bottom: 30px;
}

.info-item {
    margin-bottom: 10px;
    display: flex;
}

.label {
    font-weight: bold;
    width: 100px;
    color: #555;
}

.value {
    flex: 1;
}

.document-actions {
    margin-top: 30px;
}

.document-actions h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #555;
}

.document-preview {
    margin-bottom: 20px;
    text-align: center;
}

.document-img {
    max-width: 100%;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.action-buttons {
    text-align: center;
    margin-top: 20px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .login-box {
        margin: 30px auto;
        padding: 15px;
    }
    
    .btn {
        padding: 10px 20px;
    }
    
    .header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .header p {
        margin: 10px 0;
    }
    
    .logout-btn {
        margin-top: 10px;
    }
}