.account-layout {
    display: grid;
    grid-template-columns: 270px minmax(0,1fr);
    gap: 26px;
    align-items: start
}

.account-sidebar,.account-panel {
    background: #fff;
    border: 1px solid #e8eee8;
    border-radius: 16px;
    overflow: hidden;
    min-width: 0
}

.account-user-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 22px 18px;
    background: #f2f6ef
}

.account-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #f26722;
    color: #fff;
    font-weight: 800;
    font-size: 21px;
    flex-shrink: 0
}

.account-user-meta {
    min-width: 0
}

.account-user-meta strong,.account-user-meta small {
    display: block;
    overflow-wrap: anywhere
}

.account-user-meta strong {
    color: #173e32;
    font-size: 15px
}

.account-user-meta small {
    color: #738077;
    font-size: 12px;
    margin-top: 4px
}

.account-menu {
    padding: 10px
}

.account-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 12px;
    margin: 3px 0;
    border-radius: 9px;
    text-decoration: none;
    color: #244437;
    font-weight: 600;
    font-size: 14px;
    transition: .2s
}

.account-menu a>i {
    width: 19px;
    text-align: center
}

.account-menu a:hover,.account-menu a.active {
    background: #f2f6ef;
    color: #f26722
}

.account-menu a b {
    margin-left: auto;
    white-space: nowrap;
    font-size: 13px
}

.account-logout {
    border-top: 1px solid #edf0eb!important;
    margin-top: 10px!important;
    padding-top: 16px!important;
    color: #c74b42!important
}

.account-panel {
    padding: 28px
}

.account-panel h2 {
    font-size: 24px;
    color: #173e32;
    margin: 0 0 8px
}

.account-subtitle {
    color: #778078;
    margin: 0 0 24px;
    font-size: 14px
}

.account-stat-grid {
    display: block !important;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 14px;
    margin-bottom: 24px
}

.account-stat {
    padding: 20px;
    border: 1px solid #e8eee8;
    border-radius: 12px;
    background: #fbfcfa
}

.account-stat span {
    display: block;
    color: #68776d;
    font-size: 13px;
    margin-bottom: 8px
}

.account-stat strong {
    font-size: 24px;
    color: #173e32
}

.account-table-wrap {
    width: 100%;
    overflow-x: auto
}

.account-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 620px
}

.account-table th,.account-table td {
    text-align: left;
    padding: 14px 12px;
    border-bottom: 1px solid #edf0eb;
    font-size: 13px;
    vertical-align: middle
}

.account-table th {
    background: #f7f9f6;
    color: #526257;
    font-weight: 700
}

.account-table td {
    color: #35473c
}

.account-empty {
    padding: 36px 18px;
    text-align: center;
    border: 1px dashed #dce5dc;
    border-radius: 12px
}

.account-empty h3 {
    margin: 0 0 8px;
    color: #173e32
}

.account-empty p {
    margin: 0 0 18px;
    color: #778078
}

.account-form-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 16px
}

.account-form-grid label {
    display: block;
    color: #34483e;
    font-size: 13px;
    font-weight: 600
}

.account-form-grid input,.account-form-grid select,.account-form-grid textarea {
    box-sizing: border-box;
    width: 100%;
    margin-top: 7px;
    padding: 12px 13px;
    border: 1px solid #dce4dc;
    border-radius: 8px;
    font: inherit;
    font-weight: 400;
    color: #243a2f;
    background: #fff
}

.account-form-grid textarea {
    min-height: 92px;
    resize: vertical
}

.account-form-grid input:focus,.account-form-grid select:focus,.account-form-grid textarea:focus {
    outline: none;
    border-color: #f26722;
    box-shadow: 0 0 0 3px #f2672218
}

.account-form-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px
}

.account-address-card {
    border: 1px solid #e7ece6;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 14px
}

.account-address-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 10px
}

.account-address-top h3 {
    font-size: 16px;
    color: #173e32;
    margin: 0
}

.account-default-tag,.account-status {
    display: inline-block;
    border-radius: 20px;
    padding: 5px 9px;
    background: #edf6ed;
    color: #2e7043;
    font-size: 11px;
    font-weight: 700
}

.account-muted {
    color: #748078;
    font-size: 13px;
    line-height: 1.7
}

.account-btn-small {
    display: inline-block;
    border: 1px solid #dce4dc;
    padding: 7px 11px;
    border-radius: 7px;
    color: #244437;
    text-decoration: none;
    background: #fff;
    font-size: 12px;
    cursor: pointer
}

.account-btn-danger {
    color: #bd453b;
    border-color: #f0d6d3
}

.account-section-heading {
    display:block!important;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin: 24px 0 14px
}

.account-section-heading h3 {
    margin: 0;
    color: #173e32;
    font-size: 18px
}

.account-note {
    padding: 12px 14px;
    border-radius: 8px;
    background: #f7f9f6;
    color: #68766d;
    font-size: 13px;
    margin-bottom: 18px
}

@media(max-width: 991px) {
    .account-layout {
        grid-template-columns:1fr;
        gap: 18px
    }

    .account-menu {
        display: grid;
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 4px
    }

    .account-menu a {
        font-size: 13px;
        padding: 12px 9px
    }

    .account-logout {
        border-top: 0!important;
        margin-top: 3px!important;
        padding-top: 12px!important
    }
}

@media(max-width: 575px) {
    .account-panel {
        padding:19px 14px
    }

    .account-panel h2 {
        font-size: 21px
    }

    .account-form-grid,.account-stat-grid {
        grid-template-columns: 1fr
    }

    .account-user-card {
        padding: 17px 14px
    }

    .account-menu {
        grid-template-columns: 1fr
    }

    .account-table {
        min-width: 570px
    }

    .account-section-heading {
        align-items: flex-start;
        flex-direction: column
    }
}
