.account-section{

padding:80px 0;

background:#f8faf7;

}

.account-sidebar{

background:#fff;

border-radius:20px;

padding:30px;

box-shadow:0 10px 25px rgba(0,0,0,.08);

}

.user-box{

text-align:center;

margin-bottom:30px;

}

.user-box img{

width:90px;

height:90px;

border-radius:50%;

object-fit:cover;

margin-bottom:15px;

}

.account-sidebar ul{

list-style:none;

padding:0;

margin:0;

}

.account-sidebar li{

padding:15px;

margin-bottom:10px;

border-radius:12px;

cursor:pointer;

transition:.3s;

}

.account-sidebar li.active,

.account-sidebar li:hover{

background:#2E7D32;

color:#fff;

}

.account-content{

display:none;

background:#fff;

padding:35px;

border-radius:20px;

box-shadow:0 10px 25px rgba(0,0,0,.08);

}

.account-content.active{

display:block;

}

.dashboard-cards{

display:grid;

grid-template-columns:repeat(2,1fr);

gap:20px;

margin-top:30px;

}

.dash-card{

padding:25px;

background:#F5FFF5;

border-radius:18px;

text-align:center;

transition:.3s;

}

.dash-card:hover{

transform:translateY(-6px);

}

.dash-card i{

font-size:36px;

color:#2E7D32;

margin-bottom:15px;

}

.save-btn{

background:#2E7D32;

color:#fff;

border:none;

padding:14px 30px;

border-radius:50px;

}

@media(max-width:991px){

.account-section {
    padding: 45px 0;
}

.account-sidebar {
    margin-bottom: 25px;
    padding: 22px 18px;
}

.account-content {
    padding: 25px 20px;
}

}

@media(max-width:768px){

.dashboard-cards{
grid-template-columns: repeat(2, 1fr);
gap: 12px;
}

}

@media(max-width:576px){

.account-section {
    padding: 30px 0;
}

.account-sidebar {
    padding: 16px 12px;
    border-radius: 16px;
}

.account-sidebar li {
    padding: 12px 14px;
    font-size: 14px;
}

.account-content {
    padding: 18px 14px;
    border-radius: 16px;
}

.account-content h2 {
    font-size: 20px;
}

.dashboard-cards{
grid-template-columns: 1fr;
gap: 10px;
}

.dash-card {
    padding: 16px 12px;
}

.dash-card i {
    font-size: 28px;
    margin-bottom: 8px;
}

.dash-card h3 {
    font-size: 19px;
}

.address-card {
    padding: 16px 14px;
}

.save-btn,
.btn-add-address {
    width: 100%;
    text-align: center;
    justify-content: center;
}

}

/* ==========================================
   VIEW ORDER BUTTON
========================================== */

.view-order-btn {
    display: inline-block;
    background: #2E7D32;
    color: #fff;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-order-btn:hover {
    background: #1B5E20;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(46, 125, 50, 0.25);
}

/* ==========================================
   SAVED ADDRESSES MANAGEMENT
========================================== */

.btn-add-address {
    background: #2E7D32;
    color: #fff;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 50px;
    border: none;
    transition: all 0.3s ease;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
}

.btn-add-address:hover {
    background: #1B5E20;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(46, 125, 50, 0.25);
}

.address-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.address-card {
    background: #fff;
    border: 2px solid #E8EFE9;
    border-radius: 18px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    position: relative;
}

.address-card:hover {
    border-color: #A5D6A7;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    transform: translateY(-3px);
}

.address-card.is-default-card {
    border-color: #2E7D32;
    background: #FAFCFA;
    box-shadow: 0 8px 20px rgba(46, 125, 50, 0.08);
}

.address-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    flex-wrap: wrap;
    gap: 8px;
}

.address-type-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.address-type-badge.type-home {
    background: #E8F5E9;
    color: #2E7D32;
}

.address-type-badge.type-work {
    background: #E3F2FD;
    color: #1976D2;
}

.address-type-badge.type-other {
    background: #F3E5F5;
    color: #7B1FA2;
}

.default-badge {
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 20px;
}

.address-card-body {
    flex-grow: 1;
    margin-bottom: 18px;
}

.addr-name {
    font-size: 17px;
    font-weight: 700;
    color: #222;
    margin-bottom: 4px;
}

.addr-phone {
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 500;
}

.addr-text {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 8px;
}

.addr-instructions {
    background: #F8F9FA;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 12px;
    color: #666;
    border-left: 3px solid #2E7D32;
}

.address-card-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 14px;
    border-top: 1px dashed #E0E0E0;
    flex-wrap: wrap;
}

.action-btn {
    background: transparent;
    border: 1px solid #E0E0E0;
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #555;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease;
    cursor: pointer;
}

.action-btn:hover {
    background: #F5F5F5;
    color: #333;
}

.action-btn.btn-set-default {
    border-color: #2E7D32;
    color: #2E7D32;
}

.action-btn.btn-set-default:hover {
    background: #2E7D32;
    color: #fff;
}

.action-btn.btn-edit {
    border-color: #0288D1;
    color: #0288D1;
}

.action-btn.btn-edit:hover {
    background: #0288D1;
    color: #fff;
}

.action-btn.btn-delete {
    border-color: #D32F2F;
    color: #D32F2F;
}

.action-btn.btn-delete:hover {
    background: #D32F2F;
    color: #fff;
}

/* Empty State */
.empty-address-state {
    background: #FAFCFA;
    border: 2px dashed #D0E1D4;
    border-radius: 20px;
    padding: 50px 20px;
}

.empty-icon-wrap {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    border-radius: 50%;
    background: #E8F5E9;
    color: #2E7D32;
    font-size: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Address Type Pills in Modal */
.type-pill {
    border-radius: 25px !important;
    padding: 8px 18px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

@media (max-width: 576px) {
    .address-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   SUPPORT MESSAGES & CONVERSATION VIEW
========================================== */

.ticket-card {
    transition: all 0.3s ease;
    background: #fff;
    border-radius: 18px;
    border: 1px solid #E8EFE9;
}

.ticket-card:hover {
    border-color: #A5D6A7;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.hover-success:hover {
    color: #2E7D32 !important;
}

.user-chat-box {
    background: #F9FCF9;
    border: 1px solid #E5EFE6;
}

.chat-row .bubble {
    font-size: 14.5px;
    word-break: break-word;
}

.chat-admin .bubble {
    background: #2E7D32 !important;
    color: #ffffff !important;
}

.chat-user .bubble {
    background: #ffffff !important;
    color: #2D3748 !important;
    border: 1px solid #E2E8E2 !important;
}

.account-sidebar li .badge {
    line-height: 1;
    vertical-align: middle;
}

@media (max-width: 576px) {
    .chat-row .bubble {
        max-width: 95% !important;
        font-size: 13.5px;
    }
}
