/* ======================================================
   Sarekam CSS — profile-overlay.css
   Extracted from index.html | Phase 1 Refactor
   DO NOT add styles from other sections to this file.
   ====================================================== */

.profile-header {
    display: flex;
    flex-direction: column;
    padding: 24px 20px 10px;
    background: var(--white);
}
.profile-header .back-btn {
    font-size: 20px;
    color: #1c1c1c;
    cursor: pointer;
    margin-bottom: 24px;
    width: 30px;
}
.profile-header h2 {
    font-size: 26px;
    font-weight: 800;
    color: #1c1c1c;
    margin: 0;
    line-height: 1.2;
}

.profile-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 20px 20px 40px;
    background: var(--white);
}
.profile-scroll::-webkit-scrollbar {
    display: none;
}

.user-card {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
}
.user-avatar {
    width: 68px;
    height: 68px;
    background-color: #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #9ca3af;
    flex-shrink: 0;
}
.user-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-right: 10px;
}
.name-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    cursor: pointer;
}
.update-name {
    font-size: 20px;
    font-weight: 800;
    color: #1c1c1c;
    border-bottom: 1.5px dashed #d1d5db;
    padding-bottom: 2px;
}
.edit-icon {
    color: #9ca3af;
    font-size: 16px;
}
.user-phone {
    font-size: 14px;
    color: #4b5563;
    font-weight: 500;
}

.pass-banner {
    display: flex;
    align-items: center;
    background: #f4e8fd;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 30px;
    cursor: pointer;
    gap: 12px;
}
.pass-logo {
    font-size: 16px;
    font-weight: 800;
    color: #6b21a8;
    line-height: 1.1;
}
.pass-logo span {
    font-size: 11px;
    letter-spacing: 1px;
}
.pass-text {
    flex: 1;
    font-size: 13px;
    font-weight: 700;
    color: #6b21a8;
}
.pass-banner i {
    color: #6b21a8;
    font-size: 14px;
}

.prof-section {
    margin-bottom: 28px;
}
.prof-section-title {
    font-size: 15px;
    font-weight: 800;
    color: #1c1c1c;
    margin-bottom: 16px;
}

.bookings-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.booking-card {
    border: 1px solid #f3f4f6;
    border-radius: 12px;
    padding: 20px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.booking-card i {
    font-size: 24px;
    color: #374151;
}
.booking-card span {
    font-size: 12px;
    font-weight: 700;
    color: #1c1c1c;
    line-height: 1.3;
}

.action-tile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #f3f4f6;
    border-radius: 12px;
    margin-bottom: 28px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.action-tile .tile-left {
    display: flex;
    align-items: center;
    gap: 16px;
}
.action-tile .tile-left i {
    font-size: 20px;
    color: #4b5563;
    width: 24px;
    text-align: center;
}
.action-tile .tile-left span {
    font-size: 15px;
    font-weight: 700;
    color: #1c1c1c;
}
.action-tile > i {
    color: #9ca3af;
    font-size: 14px;
}

.payment-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #f3f4f6;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
    overflow: hidden;
}
.payment-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    cursor: pointer;
    border-bottom: 1px solid #f3f4f6;
}
.payment-item:last-child {
    border-bottom: none;
}
.payment-item .tile-left {
    display: flex;
    align-items: center;
    gap: 16px;
}
.payment-item .tile-left i {
    font-size: 20px;
    color: #4b5563;
    width: 24px;
    text-align: center;
}
.payment-item .tile-left span {
    font-size: 15px;
    font-weight: 700;
    color: #1c1c1c;
}
.payment-item > i {
    color: #9ca3af;
    font-size: 14px;
}

.logout-tile {
    margin-top: 10px;
}
.logout-tile .tile-left i {
    color: #ef4444;
}
.logout-tile .tile-left span {
    color: #ef4444;
}

