﻿body.account-body {
    background: linear-gradient(135deg, #eef2f7 0%, #f7f9fc 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 70px;
}

.account-main {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 30px 16px 60px;
}

.account-card {
    width: 100%;
    max-width: 640px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, .08), 0 4px 20px rgba(20, 139, 116, .06);
    padding: 40px 44px;
    position: relative;
}

.account-card h2 {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 6px;
    color: #0f172a;
    text-align: center;
    letter-spacing: -0.3px;
}

.account-card h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #148b74, #0e6a58);
    border-radius: 2px;
    margin: 14px auto 22px;
}

.account-card h4 {
    font-size: 15px;
    color: #64748b;
    font-weight: 500;
    margin: 0 0 8px;
    text-align: center;
}

.account-card hr {
    margin: 16px 0 22px;
    opacity: .12;
}

.account-card .alert {
    border: none;
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 22px;
}

.account-card .alert-info {
    background: #e8f4f1;
    color: #0e6a58;
}

.account-card .alert-success {
    background: #e8f4f1;
    color: #0e6a58;
}

.form-group-modern {
    margin-bottom: 18px;
}

.form-label-modern {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 8px;
    letter-spacing: 0.2px;
}

.form-label-modern .req {
    color: #e74c3c;
    margin-right: 3px;
}

.account-card .form-control,
.account-card .form-control-modern {
    width: 100%;
    height: 48px;
    padding: 12px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 14.5px;
    color: #0f172a;
    background: #f8fafc;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.02);
    box-sizing: border-box;
}

.account-card .form-control:hover {
    border-color: #cbd5e1;
}

.account-card .form-control:focus {
    outline: none;
    border-color: #148b74;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(20, 139, 116, 0.12), inset 0 1px 2px rgba(15, 23, 42, 0.02);
}

.account-card textarea.form-control {
    height: auto;
    min-height: 100px;
    resize: vertical;
    line-height: 1.8;
    padding-top: 14px;
}

.account-card .text-danger {
    font-size: 12.5px;
    margin-top: 6px;
    display: block;
    color: #e74c3c !important;
}

.account-card .validation-summary-errors {
    background: #fdf0ef;
    border: 1px solid #f3c0bc;
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 18px;
}

.account-card .validation-summary-errors ul {
    margin: 0;
    padding-right: 20px;
}

.account-card .validation-summary-errors li {
    font-size: 13px;
    color: #7a2416;
}

.account-avatar-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 22px 20px 18px;
    background: linear-gradient(135deg, #f6fbf9 0%, #eef7f4 100%);
    border-radius: 16px;
    margin-bottom: 24px;
    border: 1px dashed #c8ded7;
}

.account-avatar-preview {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #fff;
    box-shadow: 0 8px 24px rgba(20, 139, 116, 0.15);
    margin-bottom: 14px;
}

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

.account-avatar-placeholder {
    font-size: 40px;
    font-weight: 800;
    color: #148b74;
    background: linear-gradient(135deg, #d9ece6, #c8ded7);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.account-avatar-upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    background: #fff;
    color: #148b74;
    border: 1.5px solid #c8ded7;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.account-avatar-upload-btn:hover {
    background: #148b74;
    color: #fff;
    border-color: #148b74;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(20, 139, 116, 0.25);
}

.account-avatar-upload-btn svg {
    width: 15px;
    height: 15px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.account-avatar-input {
    display: none;
}

.account-submit-btn {
    width: 100%;
    height: 52px;
    background: linear-gradient(135deg, #148b74, #0e6a58);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(20, 139, 116, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: 8px;
}

.account-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(20, 139, 116, 0.4);
}

.account-pending-alert {
    background: #fff6e0;
    color: #8a5b00;
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 13.5px;
    font-weight: 600;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #f3c97a;
    line-height: 1.8;
}

.account-pending-alert svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.account-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 20px;
    height: 70px;
}

.account-navbar .navbar-brand {
    color: #fff;
    font-weight: 800;
    font-size: 17px;
    text-decoration: none;
    margin: 0;
}

.account-card .row {
    margin-bottom: 0;
}

.account-card .col-form-label {
    font-size: 13.5px;
    font-weight: 700;
    color: #334155;
    padding-top: 12px;
}

.account-card .checkbox label {
    font-size: 14px;
    color: #334155;
    margin-right: 6px;
}

@media (max-width: 576px) {
    .account-main {
        padding: 20px 12px 40px;
    }

    .account-card {
        padding: 26px 22px;
    }

    .account-card h2 {
        font-size: 20px;
    }

    .account-avatar-preview {
        width: 90px;
        height: 90px;
    }

    .account-card .col-md-2,
    .account-card .col-md-10 {
        width: 100%;
    }

    .account-card .offset-md-2 {
        margin-right: 0;
    }
}