/* =========================================
   USER PROFILE (KHATIYANI) SPECIFIC CSS
   ========================================= */

/* Profile Banner (Top Area) */
.profile-banner {
    background-color: #FFFFFF;
    border-radius: 8px;
    padding: 20px 24px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.profile-basic {
    display: flex;
    align-items: center;
    gap: 20px;
}

.avatar-circle {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-teal), var(--deep-menu));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0, 150, 136, 0.3);
}

.profile-names h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 4px;
}

.profile-names .shop-name {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.profile-names .tags {
    display: flex;
    gap: 8px;
}

.profile-actions {
    display: flex;
    gap: 10px;
}

.action-btn-large {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
    border: 1px solid;
}

.action-btn-large.edit {
    background-color: white;
    color: var(--primary-teal);
    border-color: var(--primary-teal);
}
.action-btn-large.edit:hover { background-color: var(--primary-teal); color: white; }

.action-btn-large.block {
    background-color: white;
    color: #F44336;
    border-color: #F44336;
}
.action-btn-large.block:hover { background-color: #F44336; color: white; }

.action-btn-large.reset {
    background-color: white;
    color: #2196F3;
    border-color: #2196F3;
}
.action-btn-large.reset:hover { background-color: #2196F3; color: white; }


/* Main Profile Layout Grid */
.profile-grid {
    display: grid;
    grid-template-columns: 1fr 2.2fr; /* Left col smaller, Right col bigger */
    gap: 20px;
    align-items: start;
}

/* Detail Cards Common */
.detail-card {
    background-color: #FFFFFF;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.card-heading {
    font-size: 14px;
    font-weight: 600;
    color: var(--deep-menu);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Wallet Card Specifics */
.wallet-card .wallet-row {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.wallet-row.main { background-color: #E0F2F1; border-left: 4px solid var(--primary-teal); }
.wallet-row.aeps { background-color: #E8F5E9; border-left: 4px solid var(--accent-green); }

.wallet-row .w-icon {
    font-size: 24px;
    color: var(--deep-menu);
}

.wallet-row .w-info {
    display: flex;
    flex-direction: column;
}

.wallet-row .w-label { font-size: 12px; color: var(--text-muted); font-weight: 500; }
.wallet-row .w-bal { font-size: 18px; font-weight: 700; color: var(--text-main); }

.wallet-action-buttons {
    display: flex;
    gap: 10px;
}
.justify-center { justify-content: center; }

/* Buttons inside detail cards */
.btn-danger {
    background-color: #F44336; color: white; border: none; padding: 10px 18px;
    border-radius: 6px; font-size: 13px; font-weight: 500; cursor: pointer;
    display: flex; align-items: center; gap: 8px; transition: background-color 0.3s;
}
.btn-danger:hover { background-color: #D32F2F; }

/* Info Lists (Left Column) */
.info-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.info-item {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    border-bottom: 1px dashed #F0F0F0;
    padding-bottom: 8px;
}
.info-item:last-child { border-bottom: none; padding-bottom: 0; }
.info-item .lbl { color: var(--text-muted); font-weight: 500; }
.info-item .val { color: var(--text-main); font-weight: 600; text-align: right; }

/* Info Grid (Right Column) */
.info-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.info-box {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background-color: #FAFAFA;
    padding: 12px 15px;
    border-radius: 6px;
    border: 1px solid #F0F0F0;
}
.info-box.full-width {
    grid-column: span 3;
}
.info-box .lbl { font-size: 11px; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px;}
.info-box .val { font-size: 14px; color: var(--text-main); font-weight: 600; }

.view-doc-btn {
    background: none;
    border: none;
    color: var(--primary-teal);
    font-size: 12px;
    font-weight: 600;
    text-align: left;
    margin-top: 5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.view-doc-btn:hover { text-decoration: underline; }

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
.service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background-color: #FAFAFA;
    border: 1px solid #F0F0F0;
    border-radius: 6px;
}
.service-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
}

/* Fix text colors */
.text-blue { color: #2196F3; }
.text-muted { color: #9CA3AF !important; }