/* profile.css - High Fidelity Redesign */

:root {
    --profile-green: #52C41A;
    --profile-bg: #F8FAF9;
    --profile-mint: #F2F9F5;
}

.phone-screen {
    background-color: var(--profile-bg);
}

.profile-header-new {
    background: linear-gradient(to bottom, #F2F9F5, #FFFFFF);
    padding: 10px 20px 20px;
}

.header-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
}

.header-actions i {
    font-size: 18px;
    color: #333;
}

.msg-btn {
    position: relative;
}

.msg-btn .badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: #FF4D4F;
    color: white;
    font-size: 9px;
    padding: 1px 4px;
    border-radius: 10px;
    border: 1px solid white;
}

.user-info-section {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.user-avatar-large {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.user-detail {
    flex: 1;
}

.name-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.username {
    font-size: 18px;
    font-weight: bold;
    color: #1a1a1a;
}

.user-badge.member {
    background: #FFF7E6;
    color: #FAAD14;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.id-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.phone {
    font-size: 13px;
    color: #999;
}

.verify-badge {
    background: #F6FFED;
    color: #52C41A;
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 4px;
}

/* Membership Card */
.vip-promo-card {
    background: linear-gradient(135deg, #FFE7BA, #FFD591);
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.vip-title {
    font-size: 15px;
    font-weight: bold;
    color: #873800;
    display: flex;
    align-items: center;
    gap: 6px;
}

.vip-desc {
    display: block;
    font-size: 11px;
    color: #A05500;
    margin-top: 2px;
}

.vip-btn {
    background: #444;
    color: #FFE7BA;
    border: none;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 20px;
}

/* Stats Row */
.stats-card {
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.stat-item .num {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.stat-item .label {
    font-size: 11px;
    color: #999;
}

/* Content Cards */
.content-card {
    background: white;
    border-radius: 16px;
    margin: 0 12px 12px;
    padding: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.02);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.card-header h3 {
    font-size: 15px;
    font-weight: bold;
    color: #333;
}

.header-link {
    font-size: 12px;
    color: #999;
    text-decoration: none;
}

.header-link:hover {
    color: var(--profile-green);
}

/* Icon Grids */
.icon-grid {
    display: grid;
    gap: 16px 0;
}

.icon-grid.col-6 { grid-template-columns: repeat(6, 1fr); }
.icon-grid.col-5 { grid-template-columns: repeat(5, 1fr); }
.icon-grid.col-4 { grid-template-columns: repeat(4, 1fr); }

.grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
}

.grid-item i {
    font-size: 20px;
    color: var(--profile-green);
}

.grid-item span {
    font-size: 11px;
    color: #666;
    white-space: nowrap;
}

.icon-wrap {
    position: relative;
}

.icon-wrap .badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #FF4D4F;
    color: white;
    font-size: 8px;
    padding: 1px 4px;
    border-radius: 8px;
    border: 1px solid white;
}

.badge-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 6px;
    height: 6px;
    background: #FF4D4F;
    border-radius: 50%;
    border: 1px solid white;
}

/* Note Bar */
.note-bar {
    background: #F6FBF8;
    border-radius: 10px;
    padding: 10px 12px;
    margin-top: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.note-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.note-tag {
    color: var(--profile-green);
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
}

.note-content p {
    font-size: 11px;
    color: #666;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 180px;
}

.note-manage {
    font-size: 12px;
    color: #999;
}

/* Assets Row */
.asset-top-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px 0;
    margin-bottom: 20px;
}

.asset-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.asset-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 8px;
}

.asset-icon.orange { background: #FFF7E6; color: #FAAD14; }
.asset-icon.yellow { background: #FFFBE6; color: #FAAD14; }
.asset-icon.green { background: #F6FFED; color: #52C41A; }
.asset-icon.red { background: #FFF1F0; color: #FF4D4F; }
.asset-icon.gold { background: #FFF7E6; color: #FAAD14; }

.asset-label {
    font-size: 11px;
    color: #999;
    margin-bottom: 4px;
}

.asset-value {
    font-size: 12px;
    font-weight: bold;
    color: #333;
}

/* Promo Cards */
/* Promo Banners V2 */
.promo-banner-row-v2 {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.promo-banner-card {
    flex: 1;
    height: 100px;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.promo-banner-card.invite {
    background: linear-gradient(135deg, #00b09b, #96c93d);
}

.promo-banner-card.points-exchange {
    background: linear-gradient(135deg, #f09819, #edde5d);
}

.banner-info h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.banner-info p { font-size: 11px; opacity: 0.85; margin-bottom: 12px; line-height: 1.2; }
.banner-btn-v2 { 
    background: rgba(255,255,255,0.25); 
    padding: 4px 10px; 
    border-radius: 12px; 
    font-size: 10px; 
    font-weight: 700; 
    backdrop-filter: blur(4px);
}

.banner-icon-bg {
    position: absolute;
    right: -10px;
    bottom: -10px;
    font-size: 60px;
    opacity: 0.15;
    transform: rotate(-15deg);
}

.promo-banner-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.promo-card {
    border-radius: 12px;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    height: 100px;
}

.promo-card.green { background: #F6FBF8; }
.promo-card.orange { background: #FFF9F5; }

.promo-text h4 {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 4px;
}

.promo-card.green h4 { color: #237804; }
.promo-card.orange h4 { color: #D46B08; }

.promo-text p {
    font-size: 10px;
    line-height: 1.4;
    color: #666;
    margin-bottom: 8px;
}

.promo-btn {
    border: 1px solid #ddd;
    background: white;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 10px;
    color: #666;
}

.promo-card.green .promo-btn { border-color: #52C41A; color: #52C41A; }
.promo-card.orange .promo-btn { border-color: #FAAD14; color: #FAAD14; }

/* New List Menu (Settings style) */
.list-menu-new {
    display: flex;
    flex-direction: column;
}

.list-item-new {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #F8F8F8;
}

.list-item-new:last-child {
    border-bottom: none;
}

.item-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.item-left i {
    font-size: 18px;
    color: #444;
    width: 20px;
    text-align: center;
}

.item-left span {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.item-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-pill {
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 11px;
}

.status-pill.green {
    background: #F6FFED;
    color: #52C41A;
}

.list-item-new > i {
    font-size: 12px;
    color: #CCC;
}

.item-right i {
    font-size: 12px;
    color: #CCC;
}

.bottom-spacer {
    height: 40px;
}
