* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f0f9f7;
    min-height: 100vh;
}

:root {
    --primary-color: #00bfa5;
    --primary-dark: #009688;
    --text-color: #333;
    --text-secondary: #666;
    --text-hint: #999;
    --border-color: #eee;
    --bg-color: #f0f9f7;
    --white: #fff;
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --danger-color: #f44336;
}

.header {
    background: var(--primary-color);
    padding: 15px;
    display: flex;
    align-items: center;
    color: var(--white);
    position: relative;
}

.header .back {
    font-size: 20px;
    margin-right: 15px;
    cursor: pointer;
    width: 24px;
    flex-shrink: 0;
}

.header .title {
    font-size: 17px;
    font-weight: 600;
    flex: 1;
    text-align: center;
}

.header .home {
    font-size: 18px;
    cursor: pointer;
    width: 24px;
    flex-shrink: 0;
    text-align: right;
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
    z-index: 100;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    color: var(--text-hint);
    cursor: pointer;
}

.nav-item.active {
    color: var(--primary-color);
}

.nav-item .icon {
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.nav-item .icon-index {
    background-image: url('/static/index/img/index.png');
}

.nav-item.active .icon-index {
    background-image: url('/static/index/img/index.png');
}

.nav-item .icon-contracts {
    background-image: url('/static/index/img/my-contracts.png');
}

.nav-item.active .icon-contracts {
    background-image: url('/static/index/img/my-contracts.png');
}

.nav-item .icon-console {
    background-image: url('/static/index/img/console.png');
}

.nav-item.active .icon-console {
    background-image: url('/static/index/img/console.png');
}

.nav-item .icon-my {
    background-image: url('/static/index/img/my.png');
}

.nav-item.active .icon-my {
    background-image: url('/static/index/img/my.png');
}

.nav-item span {
    font-size: 11px;
}

.fab-button {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 70px;
    line-height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    color: var(--white);
    font-size: 50px;
    box-shadow: 0 4px 12px rgba(0, 191, 165, 0.4);
    z-index: 101;
    text-decoration: none;
}

.card {
    background: var(--white);
    border-radius: 8px;
    padding: 15px;
    margin: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.section-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 12px;
}

.form-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.form-item:last-child {
    border-bottom: none;
}

.form-item .label {
    font-size: 15px;
    color: var(--text-secondary);
    font-weight: 500;
}

.form-item .value {
    font-size: 15px;
    color: var(--text-hint);
}

.form-item input {
    text-align: right;
    border: none;
    font-size: 15px;
    color: var(--text-hint);
    outline: none;
    width: 200px;
    background: transparent;
}

.form-item input::placeholder {
    color: var(--text-hint);
}

.avatar {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    flex-shrink: 0;
}

@media (max-width: 375px) {
    .header {
        padding: 12px;
    }
    
    .header .title {
        font-size: 16px;
    }
    
    .card {
        margin: 10px;
        padding: 12px;
    }
    
    .fab-button {
        width: 50px;
        height: 50px;
        font-size: 24px;        
        bottom: 35px;
        line-height: 45px;
    }
    
    .bottom-nav {
        padding: 8px 0;
    }
    
    .nav-item .icon {
        font-size: 20px;
    }
    
    .nav-item span {
        font-size: 10px;
    }
}

@media (min-width: 768px) {
    .header {
        padding: 20px 30px;
    }
    
    .header .title {
        font-size: 18px;
    }
    
    .card {
        margin: 20px;
        padding: 20px;
    }
    
    .fab-button {
        width: 60px;
        height: 60px;
        font-size: 30px;
        bottom: 75px;
    }
    
    .bottom-nav {
        padding: 12px 0;
    }
    
    .nav-item .icon {
        font-size: 24px;
    }
    
    .nav-item span {
        font-size: 12px;
    }
}