﻿.guesprofile-general {
    display: flex;
    min-height: 100vh;
    gap: 0;
}

.guest_sidebar {
    width: 280px;
    min-width: 280px;
    border-right: 1px solid #d3d3d3;
    transition: all 0.3s ease;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
}

/* ===== HEADER SECTION ===== */
.beauty_crm_header {
    padding: 16px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.beauty_crm_header_text p {
    color: #64748b;
    font: normal normal 600 var(--s-24);
}

/* ===== SEARCH BAR ===== */
.beauty_crm_search_container {
    display: flex;
    width: 100%;
    height: 40px;
    align-items: stretch;
    border-radius: 8px;
    background-color: #f1f5f9;
    justify-content: center;
    align-items: center;
    padding: 12px;
}

.beauty_crm_search_input {
    flex: 1;
    border: none;
    background-color: transparent;
    font-size: 14px;
    padding: 0 12px;
    font-family: inherit;
    color: #000000;
    outline: none;
}

    .beauty_crm_search_input::placeholder {
        color: #94a3b8;
    }

/* ===== CHIPS/FILTER SECTION ===== */
.beauty_crm_chips_container {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scroll-behavior: smooth;
}

    .beauty_crm_chips_container::-webkit-scrollbar {
        display: none;
    }

.beauty_crm_chip {
    display: flex;
    height: 28px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    padding: 0 12px;
    cursor: pointer;
    background-color: #f1f5f9;
    font-size: 12px;
    font-weight: 500;
    color: #000000;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

    .beauty_crm_chip:hover {
        background-color: #e2e8f0;
    }

    .beauty_crm_chip.active {
        background-color: #3b82f6;
        color: #ffffff;
    }

        .beauty_crm_chip.active:hover {
            background-color: #2563eb;
        }

/* ===== CLIENT LIST SECTION ===== */
.beauty_crm_clients_list {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

    .beauty_crm_clients_list::-webkit-scrollbar {
        width: 6px;
    }

    .beauty_crm_clients_list::-webkit-scrollbar-track {
        background-color: transparent;
    }

    .beauty_crm_clients_list::-webkit-scrollbar-thumb {
        background-color: #cbd5e1;
        border-radius: 3px;
    }

        .beauty_crm_clients_list::-webkit-scrollbar-thumb:hover {
            background-color: #94a3b8;
        }

/* ===== CLIENT LIST ITEM ===== */
.beauty_crm_client_item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-right: 4px solid transparent;
}

    .beauty_crm_client_item:hover:not(.active) {
        background-color: #f8fafc;
    }

    .beauty_crm_client_item.active {
        background-color: rgba(59, 130, 246, 0.1);
        border-right-color: #3b82f6;
    }

.beauty_crm_client_avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 2px solid transparent;
    flex-shrink: 0;
}

.beauty_crm_client_item.active .beauty_crm_client_avatar {
    border-color: #3b82f6;
}

.beauty_crm_client_info {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.beauty_crm_client_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.beauty_crm_client_name {
    font-size: 14px;
    font-weight: 500;
    color: #000000;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.beauty_crm_client_item.active .beauty_crm_client_name {
    font-weight: 700;
}

/* ===== TIER BADGES ===== */
.beauty_crm_tier_badge {
    font-size: 10px;
    padding: 4px 6px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
}

.beauty_crm_tier_bronze {
    background-color: rgba(180, 83, 9, 0.2);
    color: #b45309;
}

.beauty_crm_tier_gold {
    background-color: rgba(217, 119, 6, 0.2);
    color: #d97706;
}

.beauty_crm_tier_silver {
    background-color: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.beauty_crm_client_visit_time {
    font-size: 12px;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===== FOOTER SECTION ===== */
.beauty_crm_footer {
    padding: 16px;
    border-top: 1px solid #e2e8f0;
}

.beauty_crm_add_btn {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #3b82f6;
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
    padding: 0;
}

    .beauty_crm_add_btn:hover {
        opacity: 0.8;
    }

.guest_container {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.guest_profile-header {
    padding: 24px 32px;
    min-height: 120px;
}

@media screen and (max-width: 1024px) {
    .guest_sidebar {
        width: 240px;
        min-width: 240px;
        padding: 16px;
    }

    .guest_header-header {
        padding: 20px 24px;
        min-height: 100px;
    }

    .guest_header-body {
        padding: 24px;
    }
}

@media screen and (max-width: 768px) {
    .guesprofile-general {
        flex-direction: column;
    }

    .guest_sidebar {
        width: 100%;
        min-width: auto;
        border-right: none;
        border-bottom: 1px solid #2a2a2a;
        max-height: 200px;
        overflow-y: auto;
    }

    .guest_header-header {
        padding: 16px 20px;
        min-height: 80px;
    }

    .guest_header-body {
        padding: 20px;
    }
}

@media screen and (max-width: 480px) {
    .guest_sidebar {
        padding: 12px;
        max-height: 150px;
    }

    .guest_header-header {
        padding: 12px 16px;
        min-height: 60px;
    }

    .guest_header-body {
        padding: 16px;
    }
}

.guest_sidebar::-webkit-scrollbar,
.guest_header-body::-webkit-scrollbar {
    width: 8px;
}

.guest_sidebar::-webkit-scrollbar-track,
.guest_header-body::-webkit-scrollbar-track {
    background: #1a1a1a;
}

.guest_sidebar::-webkit-scrollbar-thumb,
.guest_header-body::-webkit-scrollbar-thumb {
    background: #404040;
    border-radius: 4px;
}

    .guest_sidebar::-webkit-scrollbar-thumb:hover,
    .guest_header-body::-webkit-scrollbar-thumb:hover {
        background: #505050;
    }


.guest_header_content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media (min-width: 768px) {
    .guest_header_content {
        flex-direction: row;
        align-items: flex-start;
    }
}

/* ===== PROFILE PHOTO SECTION ===== */
.guest_header_photo_block {
    position: relative;
    flex-shrink: 0;
}

.guest_header_photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #e0e7ff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

    .guest_header_photo i.fa-user {
        font-size: 28px;
        color: #6366f1;
    }

    .guest_header_photo[style*="background-image"] {
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

        .guest_header_photo[style*="background-image"] i {
            display: none;
        }

/* ===== CLIENT INFO SECTION ===== */
.guest_header_info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

@media (min-width: 768px) {
    .guest_header_info {
        text-align: left;
    }
}

/* ===== NAME & BADGES ===== */
.guest_header_name_badges {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (min-width: 768px) {
    .guest_header_name_badges {
        flex-direction: row;
        align-items: center;
    }
}

.guest_header_client_name {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}

.guest_header_badges {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .guest_header_badges {
        justify-content: flex-start;
    }
}

.guest_header_badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 9999px;
    border: 1px solid;
    white-space: nowrap;
}

/* Tier Badge - Bronze */
.guest_header_badge_bronze {
    background-color: rgba(180, 83, 9, 0.1);
    color: #b45309;
    border-color: rgba(180, 83, 9, 0.3);
}

/* ID Badge */
.guest_header_badge_id {
    background-color: #f1f5f9;
    color: #64748b;
    border-color: #e2e8f0;
}

/* ===== LOCATION ===== */
.guest_header_location {
    color: #64748b;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

@media (min-width: 768px) {
    .guest_header_location {
        justify-content: flex-start;
    }
}

/* ===== STATS & VIP SECTION ===== */
.guest_header_stats {
    display: flex;
    align-items: center;
    gap: 32px;
    justify-content: center;
}

@media (min-width: 768px) {
    .guest_header_stats {
        justify-content: flex-start;
    }
}

/* Total Spent Stat */
.guest_header_stat {
    text-align: right;
}

.guest_header_stat_label {
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.guest_header_stat_value {
    font-size: 32px;
    font-weight: 800;
    color: #3b82f6;
}

/* Vertical Divider */
.guest_header_divider {
    width: 1px;
    height: 48px;
    background-color: #e2e8f0;
    display: none;
}

@media (min-width: 768px) {
    .guest_header_divider {
        display: block;
    }
}

/* ===== VIP STATUS SECTION ===== */
.guest_header_vip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.guest_header_vip_label {
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===== TOGGLE SWITCH ===== */
.guest_header_toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    cursor: pointer;
}

    .guest_header_toggle input {
        display: none;
    }

.guest_header_toggle_slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    border-radius: 9999px;
    transition: background-color 0.3s ease;
}

    .guest_header_toggle_slider::before {
        content: '';
        position: absolute;
        top: 2px;
        left: 2px;
        width: 20px;
        height: 20px;
        background-color: #ffffff;
        border-radius: 50%;
        transition: transform 0.3s ease;
    }

.guest_header_toggle input:checked + .guest_header_toggle_slider {
    background-color: #3b82f6;
}

    .guest_header_toggle input:checked + .guest_header_toggle_slider::before {
        transform: translateX(20px);
    }

/* ===== NAVIGATION TABS ===== */
.guest_header_nav {
    /* max-width: 1280px; */
    /* margin: 0 auto; */
    display: flex;
    gap: 32px;
    border-top: 1px solid #e2e8f0;
    padding-top: 32px;
    margin: 0 24px;
}

.guest_header_nav_link {
    padding-bottom: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    position: relative;
}

    .guest_header_nav_link:hover {
        color: #3b82f6;
    }

    .guest_header_nav_link.active {
        color: #0f172a;
        font-weight: 700;
        border-bottom-color: #3b82f6;
    }

/* ===== RESPONSIVE ===== */
@media (max-width: 767px) {
    .guest_header_wrapper {
        padding: 16px;
    }

    .guest_header_client_name {
        font-size: 24px;
    }

    .guest_header_stat_value {
        font-size: 24px;
    }

    .guest_header_photo {
        width: 80px;
        height: 80px;
    }

    .guest_header_nav {
        gap: 16px;
        padding-top: 16px;
    }

    .guest_header_nav_link {
        font-size: 13px;
    }
}

/* ===== LEFT COLUMN: FORMS ===== */
.guest_content_forms {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ===== CARD CONTAINER ===== */
.guest_content_card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

    .guest_content_card.dark-mode {
        background-color: #1a202c;
        border-color: rgba(255, 255, 255, 0.05);
    }

/* ===== CARD HEADER ===== */
.guest_content_card_header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

    .guest_content_card_header h3 {
        font-size: 18px;
        font-weight: 700;
        color: #0f172a;
        margin-bottom: 0;
    }

.guest_content_card.dark-mode .guest_content_card_header h3 {
    color: #ffffff;
}

/* ===== FORM SECTIONS ===== */
.guest_content_form_grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .guest_content_form_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== FORM GROUP ===== */
.guest_content_form_group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.guest_content_form_label {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.guest_content-section.dark-mode .guest_content_form_label {
    color: #94a3b8;
}

/* ===== INPUT FIELD ===== */
.guest_content_input_wrapper {
    display: flex;
    align-items: center;
    background-color: #f1f5f9;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    padding-left: 12px;
    height: 44px;
    gap: 12px;
}

.guest_content-section.dark-mode .guest_content_input_wrapper {
    background-color: #1a1a1a;
    border-color: rgba(255, 255, 255, 0.1);
}

.guest_content_input,
.guest_content_select {
    background-color: transparent;
    border: none;
    outline: none;
    font-size: 14px;
    width: 100%;
    padding: 0;
    color: #0f172a;
    font-family: inherit;
}

.guest_content-section.dark-mode .guest_content_input,
.guest_content-section.dark-mode .guest_content_select {
    color: #ffffff;
}

.guest_content_input::placeholder,
.guest_content_select::placeholder {
    color: #94a3b8;
}

.guest_content_input:focus,
.guest_content_select:focus {
    outline: none;
}

.guest_content_select {
    cursor: pointer;
}

    .guest_content_select option {
        background-color: #ffffff;
        color: #0f172a;
    }

.guest_content-section.dark-mode .guest_content_select option {
    background-color: #1a202c;
    color: #ffffff;
}

/* ===== TEXTAREA ===== */
.guest_content_textarea_wrapper {
    display: flex;
    align-items: flex-start;
    background-color: #f1f5f9;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    padding: 12px;
    gap: 8px;
}

.guest_content-section.dark-mode .guest_content_textarea_wrapper {
    background-color: #1a1a1a;
    border-color: rgba(255, 255, 255, 0.1);
}

.guest_content_textarea {
    background-color: transparent;
    border: none;
    outline: none;
    font-size: 14px;
    width: 100%;
    padding: 0;
    color: #0f172a;
    font-family: inherit;
    resize: none;
    line-height: 1.5;
    min-height: 80px;
}

.guest_content-section.dark-mode .guest_content_textarea {
    color: #ffffff;
}

.guest_content_textarea::placeholder {
    color: #94a3b8;
}

/* ===== SAVE BUTTON ===== */
.guest_content_card_footer {
    margin-top: 32px;
    display: flex;
    justify-content: flex-end;
}

.guest_content_save_btn {
    background-color: #3b82f6;
    color: #ffffff;
    font-weight: 700;
    padding: 8px 32px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 6px rgba(59, 130, 246, 0.2);
    font-size: 14px;
}

    .guest_content_save_btn:hover {
        background-color: #2563eb;
        box-shadow: 0 6px 12px rgba(59, 130, 246, 0.3);
        transform: translateY(-1px);
    }

    .guest_content_save_btn:active {
        transform: translateY(0);
    }

/* ===== RIGHT COLUMN: SIDEBAR ===== */
.guest_content_sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 24px;
}

/* ===== SIDEBAR CARD ===== */
.guest_content_sidebar_card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

    .guest_content_sidebar_card.dark-mode {
        background-color: #1a202c;
        border-color: rgba(255, 255, 255, 0.05);
    }

/* ===== SIDEBAR CARD HEADER ===== */
.guest_content_sidebar_header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

    .guest_content_sidebar_header .icon-hub {
        color: #3b82f6;
    }

    .guest_content_sidebar_header h3 {
        font-size: 12px;
        font-weight: 800;
        color: #94a3b8;
        text-transform: uppercase;
        letter-spacing: 0.1em;
    }

/* ===== SIDEBAR ITEM ===== */
.guest_content_sidebar_item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 0;
    border-bottom: 1px solid #e2e8f0;
}

.guest_content_sidebar_card.dark-mode .guest_content_sidebar_item {
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

.guest_content_sidebar_item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.guest_content_sidebar_item:first-child {
    padding-top: 0;
}

.guest_content_sidebar_label {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
}

.guest_content-section.dark-mode .guest_content_sidebar_label {
    color: #94a3b8;
}

.guest_content_sidebar_value {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
}

.guest_content-section.dark-mode .guest_content_sidebar_value {
    color: #ffffff;
}

.guest_content_sidebar_value.highlight {
    color: #3b82f6;
}

/* ===== SIDEBAR ITEM ROW (for two-column layout) ===== */
.guest_content_sidebar_row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #e2e8f0;
}

.guest_content_sidebar_card.dark-mode .guest_content_sidebar_row {
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

.guest_content_sidebar_row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.guest_content_sidebar_row:first-child {
    padding-top: 0;
}

.guest_content_sidebar_row_label {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
}

.guest_content-section.dark-mode .guest_content_sidebar_row_label {
    color: #94a3b8;
}

.guest_content_sidebar_row_value {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
}

.guest_content-section.dark-mode .guest_content_sidebar_row_value {
    color: #ffffff;
}

.guest_content_sidebar_row_value.highlight {
    color: #3b82f6;
}

/* ===== NEXT APPOINTMENT CARD ===== */
.guest_profile-body {
    padding: 24px;
    flex: 1;
    overflow-y: auto;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1023px) {
    .guest_content_wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .guest_content-section {
        padding: 16px;
    }

    .guest_content_card,
    .guest_content_sidebar_card,
    .guest_content_appointment_card {
        padding: 16px;
    }

    .guest_content_card_header {
        margin-bottom: 16px;
    }

    .guest_content_form_grid {
        gap: 16px;
    }

    .guest_content_form_group {
        gap: 8px;
    }
}
