.account-auth-shell,
.account-page-shell {
    padding: 42px 0;
}

.account-auth-grid {
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.account-card,
.account-hero,
.account-panel {
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 24px;
    box-shadow: 0 22px 70px rgba(15, 23, 42, .08);
}

.account-card {
    padding: 28px;
}

.account-card-head {
    align-items: center;
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.account-icon {
    align-items: center;
    background: #eaf2ff;
    border-radius: 18px;
    color: #1f6fff;
    display: inline-flex;
    font-size: 24px;
    height: 60px;
    justify-content: center;
    width: 60px;
}

.account-icon.success {
    background: #eaf8f1;
    color: #07835f;
}

.account-field {
    margin-bottom: 18px;
}

.account-field label {
    color: #5d6b82;
    display: block;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .04em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.account-field .form-control {
    border-color: #dbe4f0;
    border-radius: 18px;
    min-height: 54px;
    padding-left: 20px;
}

.account-primary-btn {
    border-radius: 999px;
    box-shadow: 0 16px 32px rgba(31, 111, 255, .22);
    font-weight: 800;
    min-height: 56px;
}

.account-closed {
    align-items: center;
    border: 1px dashed #d8e1ed;
    border-radius: 22px;
    color: #64748b;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 300px;
    padding: 32px;
    text-align: center;
}

.account-closed .account-icon {
    background: #fff4db;
    color: #f59e0b;
    margin-bottom: 18px;
}

.account-menu {
    align-items: center;
    display: flex;
    gap: 10px;
    margin-left: 12px;
}

.account-menu .dropdown-menu {
    border: 0;
    border-radius: 24px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .18);
    min-width: 260px;
    padding: 14px;
}

.account-menu .dropdown-item {
    border-radius: 14px;
    color: #334155;
    font-weight: 800;
    padding: 12px 14px;
}

.account-menu .dropdown-item i {
    margin-right: 10px;
    width: 18px;
}

.account-menu .dropdown-divider {
    margin: 10px 6px;
}

.account-hero {
    margin-bottom: 24px;
    overflow: hidden;
    padding: 34px;
    position: relative;
}

.account-hero:after {
    background: #dbeafe;
    border-radius: 50%;
    content: "";
    height: 160px;
    opacity: .7;
    position: absolute;
    right: -42px;
    top: -60px;
    width: 160px;
}

.account-profile-cover {
    background: linear-gradient(135deg, #176bff, #2f91ff);
    border-radius: 24px 24px 0 0;
    height: 96px;
}

.account-profile-body {
    padding: 0 24px 24px;
}

.account-avatar {
    background: #fff;
    border: 5px solid #fff;
    border-radius: 50%;
    height: 92px;
    margin-top: -46px;
    object-fit: cover;
    width: 92px;
}

.account-list {
    display: grid;
    gap: 14px;
}

.account-list-item {
    align-items: center;
    background: #fff;
    border: 1px solid #edf2f7;
    border-radius: 18px;
    display: flex;
    justify-content: space-between;
    padding: 16px 18px;
}

.account-list-item a {
    color: #0f172a;
    font-weight: 800;
    text-decoration: none;
}

.account-article-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0 22px;
}

.account-action-btn {
    align-items: center;
    background: #fff;
    border: 1px solid #dbe4f0;
    border-radius: 999px;
    color: #334155;
    display: inline-flex;
    font-weight: 800;
    gap: 8px;
    padding: 10px 15px;
    text-decoration: none;
}

.account-action-btn:hover,
.account-action-btn.is-active {
    background: #176bff;
    border-color: #176bff;
    color: #fff;
}

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

    .account-menu {
        align-items: stretch;
        margin: 14px 0 0;
    }
}

.account-content-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.account-content-card {
    position: relative;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, .08);
    box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
    transform: translateY(0) scale(1);
    opacity: 1;
    transition: transform .35s cubic-bezier(.2, .8, .2, 1),
                box-shadow .35s ease,
                border-color .35s ease,
                opacity .35s ease;
    animation: accountCardIn .45s ease both;
}

.account-content-card:hover {
    transform: translateY(-8px) scale(1.015);
    box-shadow: 0 28px 70px rgba(15, 23, 42, .16);
    border-color: rgba(37, 99, 235, .22);
}

.account-content-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(37, 99, 235, .08), transparent 42%, rgba(16, 185, 129, .08));
    opacity: 0;
    transition: opacity .35s ease;
    z-index: 2;
}

.account-content-card:hover::before {
    opacity: 1;
}

.account-content-image {
    position: relative;
    display: block;
    height: 195px;
    background: linear-gradient(180deg, #eef2f7, #cbd5e1);
    overflow: hidden;
}

.account-content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform .55s cubic-bezier(.2, .8, .2, 1), filter .35s ease;
}

.account-content-card:hover .account-content-image img {
    transform: scale(1.09);
    filter: saturate(1.08) contrast(1.04);
}

.account-image-glow {
    position: absolute;
    inset: auto 0 0 0;
    height: 58%;
    background: linear-gradient(to top, rgba(15, 23, 42, .50), transparent);
    opacity: .65;
    transition: opacity .35s ease;
}

.account-content-card:hover .account-image-glow {
    opacity: .88;
}

.account-content-body {
    position: relative;
    z-index: 3;
    padding: 19px;
}

.account-content-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 9px;
}

.account-content-body h3 {
    font-size: 18px;
    line-height: 1.35;
    margin: 0 0 10px;
    font-weight: 800;
}

.account-content-body h3 a {
    color: #0f172a;
    text-decoration: none;
    background-image: linear-gradient(#2563eb, #2563eb);
    background-size: 0 2px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    transition: background-size .3s ease, color .3s ease;
}

.account-content-card:hover .account-content-body h3 a {
    color: #2563eb;
    background-size: 100% 2px;
}

.account-content-body p {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 17px;
    line-height: 1.65;
}

.account-card-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.account-inline-form {
    margin: 0;
}

.account-mini-btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 0;
    padding: 10px 15px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none !important;
    cursor: pointer;
    line-height: 1;
    transition: transform .25s ease,
                box-shadow .25s ease,
                opacity .25s ease;
}

.account-mini-btn i {
    position: relative;
    z-index: 2;
}

.account-mini-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, .22);
    transform: translateX(-110%) skewX(-18deg);
    transition: transform .45s ease;
}

.account-mini-btn:hover::after {
    transform: translateX(110%) skewX(-18deg);
}

.account-mini-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(15, 23, 42, .18);
}

.account-mini-btn.primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff !important;
}

.account-mini-btn.success {
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: #fff !important;
}

.account-mini-btn.warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff !important;
}

.account-mini-btn.danger {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: #fff !important;
}

.account-mini-btn.muted {
    background: linear-gradient(135deg, #334155, #0f172a);
    color: #fff !important;
}

.account-card-removing {
    animation: accountCardRemove .45s ease forwards !important;
    pointer-events: none;
}

.account-empty-state {
    background: #fff;
    border-radius: 26px;
    padding: 58px 25px;
    text-align: center;
    border: 1px dashed rgba(15, 23, 42, .18);
    color: #64748b;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .06);
    animation: accountCardIn .45s ease both;
}

.account-empty-state i {
    font-size: 44px;
    color: #94a3b8;
    margin-bottom: 15px;
}

.account-empty-state h3 {
    color: #0f172a;
    font-weight: 900;
    margin-bottom: 6px;
}

.account-comments-wrap {
    display: grid;
    gap: 20px;
}

.account-comment-card {
    position: relative;
    background: #fff;
    border-radius: 24px;
    padding: 23px;
    border: 1px solid rgba(15, 23, 42, .08);
    box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
    transition: transform .35s cubic-bezier(.2, .8, .2, 1),
                box-shadow .35s ease,
                border-color .35s ease;
    animation: accountCardIn .45s ease both;
}

.account-comment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 26px 65px rgba(15, 23, 42, .13);
}

.account-comment-card.pending {
    border-left: 5px solid #f59e0b;
}

.account-comment-card.approved {
    border-left: 5px solid #16a34a;
}

.account-comment-top {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.account-comment-top h3 {
    font-size: 18px;
    margin: 9px 0 4px;
    font-weight: 900;
}

.account-comment-top h3 a {
    color: #0f172a;
    text-decoration: none;
}

.account-comment-top h3 a:hover {
    color: #2563eb;
}

.account-comment-top small {
    color: #64748b;
}

.account-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.account-status-badge.approved {
    background: rgba(22, 163, 74, .12);
    color: #15803d;
}

.account-status-badge.pending {
    background: rgba(245, 158, 11, .15);
    color: #b45309;
}

.account-comment-edit label {
    display: block;
    font-weight: 900;
    margin-bottom: 8px;
    color: #0f172a;
}

.account-comment-edit textarea {
    margin-bottom: 13px;
    border-radius: 16px;
    resize: vertical;
    min-height: 115px;
    transition: border-color .25s ease, box-shadow .25s ease;
}

.account-comment-edit textarea:focus {
    border-color: rgba(37, 99, 235, .65);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}

.account-comment-readonly {
    background: #f8fafc;
    border-radius: 18px;
    padding: 17px;
    color: #334155;
    line-height: 1.7;
}

.swal2-popup {
    border-radius: 24px !important;
}

.swal2-confirm,
.swal2-cancel {
    border-radius: 999px !important;
    padding: 10px 20px !important;
    font-weight: 800 !important;
}

@keyframes accountCardIn {
    from {
        opacity: 0;
        transform: translateY(18px) scale(.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes accountCardRemove {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
        max-height: 520px;
    }

    55% {
        opacity: .28;
        transform: translateX(35px) scale(.96);
    }

    100% {
        opacity: 0;
        transform: translateX(90px) scale(.9);
        max-height: 0;
        margin: 0;
        padding: 0;
    }
}

@media (max-width: 991px) {
    .account-content-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .account-content-grid {
        grid-template-columns: 1fr;
    }

    .account-content-image {
        height: 210px;
    }

    .account-comment-top {
        flex-direction: column;
    }

    .account-card-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .account-inline-form {
        width: 100%;
    }

    .account-mini-btn {
        width: 100%;
    }
}



.account-content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 22px;
}

.account-content-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
    transition: transform .22s ease, box-shadow .22s ease, opacity .22s ease;
}

.account-content-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 58px rgba(15, 23, 42, .13);
}

.account-content-image {
    display: block;
    position: relative;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #eef6ff, #f8fbff);
    overflow: hidden;
}

.account-content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.account-content-body {
    padding: 18px;
}

.account-content-body h3 {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 800;
}

.account-content-body h3 a {
    color: #0f172a;
    text-decoration: none;
}

.account-content-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 13px;
}

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

.account-mini-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    padding: 9px 14px;
    border: 0;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    color: #0f172a;
    background: #f1f5f9;
}

.account-mini-btn.primary {
    color: #fff;
    background: #2563eb;
}

.account-mini-btn.success {
    color: #fff;
    background: #16a34a;
}

.account-mini-btn.danger {
    color: #fff;
    background: #dc2626;
}

.account-empty-state {
    padding: 54px 24px;
    border: 1px dashed rgba(37, 99, 235, .25);
    border-radius: 24px;
    text-align: center;
    background: rgba(248, 251, 255, .86);
}

.account-empty-state i {
    width: 68px;
    height: 68px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border-radius: 24px;
    color: #2563eb;
    background: #eaf2ff;
    font-size: 28px;
}

.account-empty-state h3 {
    margin: 0 0 6px;
    font-weight: 900;
}

.account-empty-state p {
    margin: 0;
    color: #64748b;
}

.account-card-removing {
    opacity: 0;
    transform: scale(.96);
}

.account-comments-wrap {
    display: grid;
    gap: 18px;
}

.account-comment-card {
    padding: 22px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .07);
}

.account-comment-card.pending {
    border-color: rgba(245, 158, 11, .35);
    background: linear-gradient(180deg, #fffaf0, #fff);
}

.account-comment-top {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.account-comment-top h3 {
    margin: 10px 0 6px;
    font-size: 20px;
    font-weight: 900;
}

.account-comment-top h3 a {
    color: #0f172a;
    text-decoration: none;
}

.account-comment-top small {
    color: #64748b;
}

.account-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.account-status-badge.approved {
    color: #166534;
    background: #dcfce7;
}

.account-status-badge.pending {
    color: #92400e;
    background: #fef3c7;
}

.account-comment-edit {
    display: grid;
    gap: 12px;
}

.account-comment-edit label {
    margin: 0;
    font-weight: 900;
}

.account-comment-edit textarea,
.account-comment-readonly {
    border-radius: 16px;
    border-color: #dbe5f1;
    background: #f8fafc;
}

.account-comment-readonly {
    padding: 16px;
    color: #334155;
    line-height: 1.75;
}

.account-inline-form {
    margin-top: 10px;
}

@media (max-width: 767px) {
    .account-content-grid {
        grid-template-columns: 1fr;
    }

    .account-comment-top {
        flex-direction: column;
    }
}


