/* Styles for my.html - Personal Center Page */

body, html {
    background-color: #f8f8f8; /* Light gray background for the entire page */
}

.page-container {
    padding: 12px 8px 80px 8px; /* Adjusted bottom padding for nav bar */
}

.my-header-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(to right, #3B5FE0, #2A4CC8);
	padding: 12px 0;
	border-radius: 8px;
	margin-bottom: 20px;
    color: white;
    text-align: center;
}

.my-header-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px; /* Space below title */
    width: 100%; /* Ensure it's centered if text-align is on parent */
    position: absolute; /* Position it at the top of the header section */
    top: 15px; /* Adjust as needed for vertical alignment */
    left: 0;
    right: 0;
}

.my-user-avatar-container {
    margin-top: 20px; /* Adjust to make space for the absolute positioned title */
    margin-bottom: 10px;
}

.my-user-avatar-large {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid white;
    background-color: white; /* Ensure placeholder image background is white if transparent */
}

.my-user-name-large {
    font-size: 18px; /* Larger font for name */
    font-weight: bold;
    margin-bottom: 5px;
}

.my-user-phone {
    font-size: 14px;
    margin-bottom: 10px; /* Space before list starts */
}

.my-menu-list {
    margin-top: 10px; /* Space between header and list */
    background-color: #f8f8f8; /* Match page background */
}

.my-menu-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background-color: white;
    border-bottom: 1px solid #f0f0f0; /* Lighter separator line */
    text-decoration: none;
    color: #333;
}

.my-menu-item:last-child {
    border-bottom: none;
}

.my-menu-item-icon-container {
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 修改：限定只在my-menu-item-icon-container下生效 */
.my-menu-item-icon-container .function-icon {
    width: 36px; /* Increased size */
    height: 36px; /* Increased size */
    border-radius: 8px; /* Rounded corners, not circular */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px; /* Slightly larger text */
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15); /* Subtle shadow for depth */
    /* margin: 0 auto; Ensure icon is centered if its container allows */
}
/* 新增：为每个功能图标单独设置专属背景色 */
.baogao-bg { background-color: #3b5fe0; }    /* 报 */
.chaxun-bg { background-color: #ffb300; }    /* 查 */
.zhengming-bg { background-color: #34c759; } /* 证 */
.zhifu-bg { background-color: #ff4d4f; }     /* 支 */
.cehua-bg { background-color: #9c27b0; }     /* 策 */
.warning-bg { background-color: #ffc107; } /* Example: Yellow/Orange */


.my-menu-item-text {
    flex-grow: 1;
    font-size: 15px;
}

.my-arrow {
    color: #c7c7cc; /* Standard iOS-like arrow color */
    font-size: 20px;
    font-weight: bold;
}

.my-logout-section {
    margin-top: 20px; /* Space above logout button */
    padding: 0 15px; /* Horizontal padding for the button container */
}

.my-logout-btn-large {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    color: #3a76f8; /* Blue text color to match header */
    background-color: white;
    border: 1px solid #e0e0e0; /* Light border */
    border-radius: 8px;
    cursor: pointer;
    display: block; /* Ensure it takes full width if not already */
}

.my-logout-btn-large:hover {
    background-color: #f5f5f5; /* Slight hover effect */
}

.my-version-info {
    text-align: center;
    padding: 15px;
    font-size: 12px;
    color: #999;
    background-color: #f8f8f8; /* Match page background */
}

/* Ensure bottom-nav from common.css is styled appropriately if not already */
/* .bottom-nav { ... } */
/* .nav-item { ... } */
/* .nav-item.active { ... } */
/* .nav-icon { ... } */