.aco-user-dashboard,
.aco-user-dashboard * {
    box-sizing: border-box;
}

.aco-user-dashboard {
    --aco-blue: #408bda;
    --aco-blue-dark: #1f6fbd;
    --aco-blue-soft: #eef7ff;
    --aco-blue-line: rgba(64, 139, 218, 0.2);
    --aco-ink: #0f172a;
    --aco-text: #334155;
    --aco-muted: #64748b;
    --aco-line: #e5edf7;
    --aco-surface: #ffffff;
    --aco-surface-soft: #f8fbff;
    --aco-success: #15803d;
    --aco-danger: #b91c1c;
    --aco-radius-sm: 10px;
    --aco-radius-md: 14px;
    --aco-radius-lg: 18px;
    --aco-shadow-sm: 0 8px 20px rgba(15, 23, 42, 0.06);
    --aco-shadow-md: 0 16px 38px rgba(15, 23, 42, 0.08);
    --aco-shadow-blue: 0 12px 26px rgba(64, 139, 218, 0.22);
    direction: rtl;
    font-family: IRANSans, Tahoma, Arial, sans-serif;
    color: var(--aco-text);
    width: 100%;
    margin: 0 auto;
    font-size: 14px;
    line-height: 1.8;
}

.capforest-tree-selection,
.aco-section-card,
.aco-chart-wrapper,
.aco-withdraw-card,
.aco-payment-link-form,
.aco-deposit-card,
.aco-referral-card,
.capforest-referrals-commission,
.aco-ticket-card,
.aco-ticket-list-wrap,
.aco-password-card {
    --aco-blue: #408bda;
}

.aco-dashboard-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 292px;
    grid-template-areas: "content sidebar";
    direction: ltr;
    gap: 26px;
    align-items: start;
}

.aco-dashboard-sidebar {
    grid-area: sidebar;
    direction: rtl;
    position: sticky;
    top: 24px;
    overflow: hidden;
    padding: 16px;
    border: 1px solid var(--aco-blue-line);
    border-radius: var(--aco-radius-lg);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: var(--aco-shadow-md);
}

.aco-dashboard-brand {
    position: relative;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 4px 2px 18px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--aco-line);
}

.aco-dashboard-brand::before {
    content: "A";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: var(--aco-blue);
    color: #fff;
    font-weight: 900;
    box-shadow: var(--aco-shadow-blue);
}

.aco-dashboard-brand strong {
    display: block;
    color: var(--aco-blue);
    font-size: 17px;
    line-height: 1.6;
}

.aco-dashboard-brand span {
    display: block;
    overflow: hidden;
    margin-top: 1px;
    color: var(--aco-muted);
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.aco-dashboard-menu {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.aco-dashboard-menu a,
.aco-dashboard-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 10px 11px;
    border: 1px solid transparent;
    border-radius: 12px;
    color: var(--aco-text);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.aco-user-dashboard a:focus-visible,
.aco-user-dashboard button:focus-visible,
.aco-user-dashboard input:focus-visible,
.aco-user-dashboard select:focus-visible,
.aco-user-dashboard textarea:focus-visible {
    outline: 3px solid rgba(64, 139, 218, 0.22);
    outline-offset: 2px;
}

.aco-dashboard-menu a:hover,
.aco-dashboard-menu-item:hover {
    border-color: rgba(64, 139, 218, 0.35);
    color: var(--aco-blue);
    background: var(--aco-blue-soft);
    transform: translateX(-2px);
}

.aco-dashboard-menu a.is-active,
.aco-dashboard-menu-item-active {
    border-color: var(--aco-blue);
    color: #fff;
    background: linear-gradient(135deg, var(--aco-blue) 0%, var(--aco-blue-dark) 100%);
    box-shadow: var(--aco-shadow-blue);
}

.aco-menu-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 9px;
    background: rgba(64, 139, 218, 0.1);
    text-align: center;
    line-height: 1;
}

.aco-dashboard-menu a.is-active .aco-menu-icon,
.aco-dashboard-menu-item-active .aco-menu-icon {
    background: rgba(255, 255, 255, 0.18);
}

.aco-dashboard-main,
.aco-dashboard-content {
    min-width: 0;
}

.aco-dashboard-main {
    grid-area: content;
    direction: rtl;
    padding: 26px;
    border: 1px solid var(--aco-blue-line);
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    box-shadow: var(--aco-shadow-md);
}

.aco-dashboard-header {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
    padding: 0 0 20px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--aco-line);
}

.aco-dashboard-header h2 {
    margin: 0;
    color: var(--aco-ink);
    font-size: 26px;
    font-weight: 900;
    line-height: 1.5;
}

.aco-dashboard-header p {
    margin: 4px 0 0;
    color: var(--aco-muted);
    font-size: 14px;
}

.aco-dashboard-content {
    min-height: 280px;
}

.aco-dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
    gap: 20px;
}

.aco-dashboard-panel,
.aco-dashboard-card,
.aco-investment-info-card {
    position: relative;
    overflow: hidden;
    padding: 20px;
    border: 1px solid var(--aco-blue-line);
    border-radius: var(--aco-radius-lg);
    background: linear-gradient(180deg, #ffffff 0%, var(--aco-surface-soft) 100%);
    box-shadow: var(--aco-shadow-sm);
}

.aco-dashboard-panel.is-wide {
    grid-column: 1 / -1;
}

.aco-dashboard-grid > .aco-dashboard-panel:first-child {
    border-color: rgba(64, 139, 218, 0.28);
}

.aco-dashboard-grid > .aco-dashboard-panel:first-child::before {
    content: "";
    position: absolute;
    inset-block: 0;
    inset-inline-start: 0;
    width: 4px;
    background: var(--aco-blue);
}

.aco-dashboard-panel h3,
.aco-dashboard-card h3,
.aco-investment-info-card h3 {
    margin: 0 0 14px;
    color: var(--aco-blue);
    font-size: 18px;
    font-weight: 900;
    line-height: 1.5;
}

.aco-dashboard-summary {
    display: grid;
    gap: 12px;
    margin: 0;
}

.aco-dashboard-summary-row,
.aco-info-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    min-height: 70px;
    padding: 14px 15px;
    border: 1px solid rgba(64, 139, 218, 0.16);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
}

.aco-dashboard-summary-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--aco-text);
    font-weight: 800;
}

.aco-dashboard-summary-icon,
.aco-plan-detail-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 11px;
    background: rgba(64, 139, 218, 0.1);
    color: var(--aco-blue);
    line-height: 1;
}

.aco-dashboard-summary-value {
    color: var(--aco-blue);
    font-weight: 900;
    font-size: 15px;
    white-space: nowrap;
}

.aco-status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 34px;
    padding: 6px 12px;
    border: 1px solid rgba(64, 139, 218, 0.18);
    border-radius: 999px;
    background: #f8fafc;
    color: var(--aco-text);
    font-weight: 900;
    line-height: 1.4;
}

.aco-status-dot {
    width: 9px;
    height: 9px;
    min-width: 9px;
    border-radius: 999px;
    background: #f59e0b;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.14);
}

.aco-status-active {
    border-color: rgba(21, 128, 61, 0.22);
    background: #f0fdf4;
    color: var(--aco-success);
}

.aco-status-active .aco-status-dot {
    background: #16a34a;
    box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.14);
}

.aco-status-review {
    border-color: rgba(64, 139, 218, 0.24);
    background: var(--aco-blue-soft);
    color: var(--aco-blue);
}

.aco-status-review .aco-status-dot {
    background: var(--aco-blue);
    box-shadow: 0 0 0 4px rgba(64, 139, 218, 0.14);
}

.aco-status-inactive {
    border-color: rgba(245, 158, 11, 0.24);
    background: #fffbeb;
    color: #b45309;
}

.aco-countdown-row {
    border-color: rgba(64, 139, 218, 0.24);
    background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
}

.aco-countdown-icon {
    background: rgba(64, 139, 218, 0.14);
}

.aco-countdown-value {
    color: var(--aco-ink);
    white-space: normal;
    text-align: left;
}

.aco-selected-plan,
.aco-selected-plan-card {
    display: grid;
    gap: 18px;
}

.aco-selected-plan-media,
.aco-plan-image-box {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 100%;
    max-width: 260px;
    margin: 0 auto;
    aspect-ratio: 1 / 1;
    padding: 4px;
    border: 1px solid var(--aco-blue-line);
    border-radius: 16px;
    background: var(--aco-blue-soft);
    text-align: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.aco-selected-plan-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.aco-selected-plan-name {
    margin: 0;
    color: var(--aco-blue);
    font-size: 20px;
    font-weight: 900;
    line-height: 1.6;
    text-align: center;
}

.aco-selected-plan-details,
.aco-plan-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
}

.aco-plan-detail,
.aco-plan-detail-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 60px;
    padding: 12px 13px;
    border: 1px solid rgba(64, 139, 218, 0.16);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.035);
}

.aco-plan-detail-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #475569;
    font-weight: 800;
    font-size: 13px;
    line-height: 1.6;
}

.aco-plan-detail-value {
    color: var(--aco-blue);
    font-weight: 800;
    text-align: left;
    line-height: 1.6;
}

.aco-selected-plan-empty {
    margin: 0;
    padding: 14px;
    border: 1px solid var(--aco-blue-line);
    border-radius: 14px;
    background: var(--aco-blue-soft);
    color: #475569;
    text-align: center;
}

.aco-dashboard-login-message {
    direction: rtl;
    padding: 16px;
    border: 1px solid #dbeafe;
    border-radius: 14px;
    color: #1f2937;
    background: var(--aco-blue-soft);
    text-align: center;
    font-family: IRANSans, Tahoma, Arial, sans-serif;
}

.capforest-tree-selection {
    direction: rtl;
    font-family: IRANSans, Tahoma, Arial, sans-serif;
}

.capforest-tree-selection form {
    margin: 0;
}

.aco-plans-grid,
.aco-plan-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    gap: 18px;
}

.aco-plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 100%;
    padding: 16px;
    border: 1px solid rgba(64, 139, 218, 0.18);
    border-radius: 16px;
    background: linear-gradient(180deg, #fff 0%, #f7fbff 100%);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.aco-plan-card:hover {
    transform: translateY(-2px);
    border-color: rgba(64, 139, 218, 0.42);
    box-shadow: 0 16px 34px rgba(64, 139, 218, 0.13);
}

.aco-plan-card input[type="radio"] {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 18px;
    height: 18px;
    accent-color: var(--aco-blue);
}

.aco-plan-card:has(input[type="radio"]:checked) {
    border-color: var(--aco-blue);
    box-shadow: 0 16px 34px rgba(64, 139, 218, 0.18);
}

.aco-plan-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 100%;
    max-width: 140px;
    margin: 0 auto;
    border: 1px solid rgba(64, 139, 218, 0.18);
    border-radius: 14px;
    background: #f5faff;
    aspect-ratio: 1 / 1;
    padding: 4px;
}

.aco-plan-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.aco-plan-title,
.aco-plan-card-title {
    margin: 0;
    color: var(--aco-blue);
    font-size: 17px;
    font-weight: 900;
    line-height: 1.7;
    text-align: center;
}

.aco-plan-content {
    color: #475569;
    font-size: 13px;
    line-height: 1.8;
}

.aco-plan-content p {
    margin: 0 0 8px;
}

.aco-plan-details,
.aco-plan-meta-grid {
    display: grid;
    gap: 9px;
    margin-top: auto;
}

.aco-plan-detail-chip,
.aco-plan-meta-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 11px;
    border: 1px solid rgba(64, 139, 218, 0.16);
    border-radius: 12px;
    background: #fff;
}

.aco-plan-detail-label {
    color: #475569;
    font-size: 12px;
    font-weight: 800;
}

.aco-plan-detail-value {
    color: var(--aco-blue);
    font-size: 13px;
    font-weight: 900;
    text-align: left;
}

.aco-plan-submit,
.aco-primary-button {
    display: block;
    width: min(100%, 360px);
    margin: 34px auto 0;
    padding: 13px 20px;
    border: 0;
    border-radius: 12px;
    background: var(--aco-blue);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(64, 139, 218, 0.22);
}

.aco-plan-empty {
    padding: 16px;
    border: 1px solid rgba(64, 139, 218, 0.18);
    border-radius: 14px;
    background: #f7fbff;
    color: #475569;
    text-align: center;
}

.aco-chart-wrapper {
    width: 100%;
    max-width: 800px;
    margin: 40px auto;
    text-align: center;
}

.aco-chart-wrapper canvas {
    width: 100%;
    height: 400px;
}

.aco-section-card,
.aco-chart-card,
.aco-deposit-card {
    direction: rtl;
    padding: 22px;
    border: 1px solid rgba(64, 139, 218, 0.18);
    border-radius: 16px;
    background: linear-gradient(180deg, #fff 0%, #f7fbff 100%);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
    margin-bottom: 18px;
}

.aco-section-card h3,
.aco-chart-card h3,
.aco-deposit-card h3 {
    margin: 0 0 12px;
    color: var(--aco-blue);
    font-size: 20px;
    font-weight: 900;
}

.aco-section-card p,
.aco-chart-card p,
.aco-deposit-card p {
    margin: 0 0 16px;
    color: #475569;
    line-height: 1.9;
}

.aco-section-note,
.aco-helper-box,
.aco-payment-link-note {
    margin: 0;
    padding: 12px 14px;
    border: 1px solid rgba(64, 139, 218, 0.18);
    border-radius: 12px;
    background: #f7fbff;
    color: #475569;
    line-height: 1.8;
}

.aco-section-note {
    margin-top: 16px;
}

.aco-withdraw-grid,
.aco-withdrawal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.aco-withdraw-card,
.aco-withdrawal-card,
.aco-form-card {
    direction: rtl;
    padding: 22px;
    border: 1px solid rgba(64, 139, 218, 0.18);
    border-radius: 16px;
    background: linear-gradient(180deg, #fff 0%, #f7fbff 100%);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
    font-family: IRANSans, Tahoma, Arial, sans-serif;
}

.aco-withdraw-card h3,
.aco-withdrawal-card h3,
.aco-form-card h3 {
    margin: 0 0 10px;
    color: var(--aco-blue);
    font-size: 20px;
    font-weight: 900;
}

.aco-withdraw-card p,
.aco-withdrawal-card p,
.aco-form-card p {
    margin: 0 0 16px;
    color: #475569;
    line-height: 1.9;
}

.aco-withdraw-form,
.aco-payment-link-form {
    direction: rtl;
    display: grid;
    gap: 12px;
    margin: 0;
    font-family: IRANSans, Tahoma, Arial, sans-serif;
}

.aco-payment-link-form {
    gap: 14px;
}

.aco-withdraw-form label,
.aco-payment-link-form label,
.aco-form-label {
    color: #1f2937;
    font-weight: 900;
}

.aco-withdraw-form input[type="text"],
.aco-payment-link-form textarea,
.aco-form-input {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid rgba(64, 139, 218, 0.25);
    border-radius: 12px;
    background: #fff;
    color: #0f172a;
}

.aco-withdraw-form input[type="text"] {
    direction: ltr;
    text-align: left;
}

.aco-payment-link-form textarea {
    min-height: 96px;
    resize: vertical;
}

.aco-withdraw-form input[type="submit"],
.aco-payment-link-form input[type="submit"] {
    width: 100%;
    padding: 13px 18px;
    border: 0;
    border-radius: 12px;
    background: var(--aco-blue);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(64, 139, 218, 0.22);
}

.aco-wallet-message,
.aco-message-success {
    margin: 0 0 12px;
    padding: 12px 14px;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    background: #f0fdf4;
    color: #15803d;
    text-align: center;
    font-weight: 800;
}

.aco-form-message {
    margin: 0 0 12px;
    padding: 12px 14px;
    border-radius: 12px;
    text-align: center;
    font-weight: 800;
}

.aco-form-message.is-error,
.aco-message-error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.aco-deposit-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 18px;
    align-items: stretch;
    margin-bottom: 18px;
}

.aco-deposit-wallet,
.aco-deposit-qr,
.aco-wallet-display,
.aco-qr-card {
    padding: 16px;
    border: 1px solid rgba(64, 139, 218, 0.16);
    border-radius: 14px;
    background: #fff;
}

.aco-deposit-wallet strong,
.aco-deposit-qr strong {
    display: block;
    margin-bottom: 8px;
    color: #1f2937;
}

.aco-deposit-wallet code,
.aco-wallet-display code {
    display: block;
    direction: ltr;
    overflow-wrap: anywhere;
    padding: 12px;
    border-radius: 12px;
    background: #f1f7ff;
    color: #0f172a;
}

.aco-deposit-qr,
.aco-qr-card {
    text-align: center;
}

.aco-deposit-qr img,
.aco-qr-card img {
    max-width: 190px;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.aco-referral-card {
    direction: rtl;
    padding: 22px;
    border: 1px solid rgba(64, 139, 218, 0.18);
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
    margin-bottom: 18px;
}

.aco-referral-card h3 {
    margin: 0 0 10px;
    color: var(--aco-blue);
    font-size: 19px;
    font-weight: 900;
}

.aco-referral-card p {
    margin: 0 0 18px;
    color: #475569;
    line-height: 1.9;
}

.aco-referral-fields {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.aco-referral-field {
    display: grid;
    gap: 8px;
}

.aco-referral-field label {
    color: #1f2937;
    font-weight: 800;
}

.aco-referral-field input,
.aco-referral-code-box,
.aco-referral-link-box {
    width: 100%;
    direction: ltr;
    text-align: left;
    padding: 12px 14px;
    border: 1px solid rgba(64, 139, 218, 0.28);
    border-radius: 12px;
    background: #fff;
    color: #0f172a;
    font-family: Tahoma, Arial, sans-serif;
    font-size: 14px;
    box-shadow: inset 0 1px 0 rgba(64, 139, 218, 0.05);
}

.aco-referral-empty {
    margin: 0;
    padding: 12px 14px;
    border: 1px solid rgba(64, 139, 218, 0.18);
    border-radius: 12px;
    background: #fff;
    color: #64748b;
}

.capforest-referrals-commission,
.aco-referral-table {
    direction: rtl;
    max-width: 100%;
    margin: 20px auto;
    overflow-x: auto;
    border: 1px solid rgba(64, 139, 218, 0.18);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.capforest-referrals-commission table,
.aco-referral-table table {
    width: 100%;
    min-width: 620px;
    border-collapse: separate;
    border-spacing: 0;
    margin: 0;
}

.capforest-referrals-commission th,
.aco-referral-table th {
    padding: 13px 14px;
    color: #fff;
    background: var(--aco-blue);
    text-align: center;
    font-weight: 800;
    white-space: nowrap;
}

.capforest-referrals-commission td,
.aco-referral-table td {
    padding: 13px 14px;
    border-bottom: 1px solid #e5edf7;
    color: #334155;
    text-align: center;
    vertical-align: middle;
}

.capforest-referrals-commission tbody tr:last-child td,
.aco-referral-table tbody tr:last-child td {
    border-bottom: 0;
}

.capforest-referrals-commission tbody tr:nth-child(even),
.aco-referral-table tbody tr:nth-child(even) {
    background: #f7fbff;
}

.capforest-referrals-commission .aco-ref-empty {
    color: #64748b;
    font-style: italic;
}

.aco-ticket-card,
.aco-ticket-list-wrap {
    direction: rtl;
    margin: 0 0 18px;
    padding: 22px;
    border: 1px solid rgba(64, 139, 218, 0.18);
    border-radius: 16px;
    background: linear-gradient(180deg, #fff 0%, #f7fbff 100%);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
    font-family: IRANSans, Tahoma, Arial, sans-serif;
}

.aco-ticket-card h3,
.aco-ticket-list-wrap h3 {
    margin: 0 0 16px;
    color: var(--aco-blue);
    font-size: 20px;
    font-weight: 900;
}

.aco-ticket-form {
    display: grid;
    gap: 12px;
}

.aco-ticket-form label,
.aco-form-label {
    font-weight: 800;
    color: #1f2937;
}

.aco-ticket-form input,
.aco-ticket-form select,
.aco-ticket-form textarea,
.aco-form-input,
.aco-form-select,
.aco-form-textarea {
    width: 100%;
    padding: 12px 13px;
    border: 1px solid rgba(64, 139, 218, 0.24);
    border-radius: 12px;
    background: #fff;
    color: #0f172a;
}

.aco-ticket-form textarea,
.aco-form-textarea {
    min-height: 130px;
    resize: vertical;
}

.aco-ticket-form button,
.aco-ticket-form input[type="submit"] {
    border: 0;
    background: var(--aco-blue);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(64, 139, 218, 0.22);
}

.aco-ticket-message {
    margin: 0 0 14px;
    padding: 12px 14px;
    border-radius: 12px;
    text-align: center;
    font-weight: 800;
}

.aco-ticket-message.is-success,
.aco-message-success {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.aco-ticket-message.is-error,
.aco-message-error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.aco-ticket-empty {
    margin: 0;
    color: #64748b;
}

.aco-ticket-item {
    margin: 0 0 12px;
    padding: 16px;
    border: 1px solid rgba(64, 139, 218, 0.16);
    border-radius: 14px;
    background: #fff;
}

.aco-ticket-item-header {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.aco-ticket-title {
    color: var(--aco-blue);
    font-size: 16px;
}

.aco-ticket-badge {
    padding: 4px 10px;
    border-radius: 999px;
    background: #e8f3ff;
    color: var(--aco-blue);
    font-weight: 800;
}

.aco-ticket-badge.is-closed {
    background: #f1f5f9;
    color: #475569;
}

.aco-ticket-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
    color: #64748b;
    font-size: 13px;
}

.aco-ticket-conversation {
    margin-top: 12px;
}

.aco-ticket-conversation summary {
    cursor: pointer;
    color: var(--aco-blue);
    font-weight: 800;
}

.aco-ticket-messages {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.aco-ticket-message-bubble {
    padding: 10px 12px;
    border-radius: 12px;
    color: #334155;
}

.aco-ticket-message-bubble.is-admin {
    background: #f1f7ff;
}

.aco-ticket-message-bubble.is-user {
    background: #f8fafc;
}

.aco-ticket-reply-form,
.aco-ticket-closed-note {
    margin-top: 10px;
}

.aco-ticket-closed-note {
    color: #64748b;
}

.aco-password-card {
    direction: rtl;
    max-width: 560px;
    margin: 0 auto;
    padding: 24px;
    border: 1px solid rgba(64, 139, 218, 0.18);
    border-radius: 16px;
    background: linear-gradient(180deg, #fff 0%, #f7fbff 100%);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
    font-family: IRANSans, Tahoma, Arial, sans-serif;
}

.aco-password-card h3 {
    margin: 0 0 16px;
    color: var(--aco-blue);
    font-size: 20px;
    font-weight: 900;
}

.aco-password-card p {
    margin: 0 0 14px;
}

.aco-password-card label {
    display: block;
    margin-bottom: 7px;
    color: #1f2937;
    font-weight: 900;
}

.aco-password-card input[type="password"] {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid rgba(64, 139, 218, 0.25);
    border-radius: 12px;
    background: #fff;
}

.aco-password-card input[type="submit"] {
    width: 100%;
    padding: 13px 18px;
    border: 0;
    border-radius: 12px;
    background: var(--aco-blue);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(64, 139, 218, 0.22);
}

.aco-password-message.is-error {
    max-width: 560px;
    margin: 0 auto 12px;
    padding: 12px 14px;
    border: 1px solid #fecaca;
    border-radius: 12px;
    background: #fef2f2;
    color: #b91c1c;
    text-align: center;
    font-weight: 800;
}

.aco-auth-wrapper {
    --aco-blue: #408bda;
    --aco-blue-dark: #1f6fbd;
    --aco-blue-soft: #eef7ff;
    direction: rtl;
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 32px 16px;
    box-sizing: border-box;
    font-family: IRANSans, Tahoma, Arial, sans-serif;
}

.aco-auth-wrapper *,
.aco-auth-wrapper *::before,
.aco-auth-wrapper *::after {
    box-sizing: border-box;
}

.aco-auth-card {
    width: min(100%, 620px);
    padding: 34px;
    border: 1px solid rgba(64, 139, 218, 0.2);
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.1);
}

.aco-auth-card-signup {
    width: min(100%, 680px);
}

.aco-auth-title {
    margin: 0 0 22px;
    color: #0f172a;
    font-size: 26px;
    font-weight: 900;
    line-height: 1.5;
    text-align: center;
}

.aco-auth-card form,
.aco-auth-form {
    display: grid;
    gap: 14px;
    margin: 0;
}

.aco-auth-form-wrap {
    margin: 0;
}

.aco-auth-card br,
.aco-auth-form br {
    display: none;
}

.aco-auth-card label,
.aco-auth-form label,
#capforest_login_form label {
    margin: 0;
    color: #1f2937;
    font-weight: 900;
    line-height: 1.6;
}

.aco-auth-card input[type="text"],
.aco-auth-card input[type="email"],
.aco-auth-card input[type="password"],
.aco-auth-card input[type="number"],
.aco-auth-card input[type="url"],
.aco-auth-input,
#capforest_login_form input[type="text"],
#capforest_login_form input[type="password"] {
    width: 100%;
    min-height: 52px;
    padding: 13px 15px;
    border: 1px solid rgba(64, 139, 218, 0.24);
    border-radius: 14px;
    background: #fff;
    color: #0f172a;
    font-size: 15px;
    line-height: 1.5;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.aco-auth-card input:focus,
#capforest_login_form input:focus {
    outline: 0;
    border-color: var(--aco-blue);
    box-shadow: 0 0 0 4px rgba(64, 139, 218, 0.14);
}

.aco-auth-card input[type="submit"],
.aco-auth-button,
#capforest_login_form input[type="submit"] {
    width: 100%;
    min-height: 52px;
    margin-top: 4px;
    padding: 13px 18px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--aco-blue) 0%, var(--aco-blue-dark) 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(64, 139, 218, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.aco-auth-card input[type="submit"]:hover,
.aco-auth-button:hover,
#capforest_login_form input[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(64, 139, 218, 0.28);
}

.aco-auth-card .login-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #64748b;
}

.aco-auth-card .login-remember label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.aco-auth-card input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--aco-blue);
}

.aco-auth-error,
.aco-auth-card > p {
    margin: 0 0 12px;
    padding: 12px 14px;
    border: 1px solid #fecaca;
    border-radius: 14px;
    background: #fef2f2;
    color: #b91c1c;
    text-align: center;
    font-weight: 800;
}

.aco-auth-success {
    margin: 0 0 12px;
    padding: 12px 14px;
    border: 1px solid #bbf7d0;
    border-radius: 14px;
    background: #f0fdf4;
    color: #15803d;
    text-align: center;
    font-weight: 800;
}

.aco-auth-helper {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid rgba(64, 139, 218, 0.16);
    border-radius: 16px;
    background: var(--aco-blue-soft);
}

.aco-otp-send-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
}

.aco-auth-secondary-button {
    min-height: 46px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.4;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.aco-auth-secondary-button:hover {
    background: rgba(255, 255, 255, 0.24);
    transform: translateY(-1px);
}

.aco-auth-secondary-button:disabled {
    cursor: not-allowed;
    opacity: 0.72;
    transform: none;
}

.aco-otp-message {
    display: none;
    margin: 2px 0 0;
    padding: 10px 12px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 900;
    text-align: center;
}

.aco-otp-message:not(:empty) {
    display: block;
}

.aco-otp-message.is-success {
    border: 1px solid rgba(187, 247, 208, 0.9);
    background: rgba(240, 253, 244, 0.96);
    color: #15803d;
}

.aco-otp-message.is-error {
    border: 1px solid rgba(254, 202, 202, 0.95);
    background: rgba(254, 242, 242, 0.96);
    color: #b91c1c;
}

.aco-auth-terms {
    display: grid;
    gap: 8px;
    padding: 14px;
    border: 1px solid rgba(64, 139, 218, 0.16);
    border-radius: 16px;
    background: #fff;
    color: #334155;
    line-height: 1.9;
}

.aco-auth-terms label {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 14px;
    font-weight: 800;
}

.aco-auth-terms a {
    color: var(--aco-blue);
    font-weight: 900;
    text-decoration: none;
}

.aco-auth-terms a:hover {
    text-decoration: underline;
}

.aco-auth-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    width: min(100%, 1100px);
    min-height: 650px;
    padding: 0;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.16);
}

.aco-auth-card-signup {
    width: min(100%, 1100px);
}

.aco-auth-left,
.aco-auth-right {
    min-width: 0;
}

.aco-auth-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 26px;
    padding: 44px;
    background: #fff;
}

.aco-auth-image {
    display: block;
    width: 100%;
    max-width: 430px;
    height: auto;
    object-fit: contain;
}

.ako-back-home-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 20px;
    border: 1px solid rgba(64, 139, 218, 0.45);
    border-radius: 999px;
    background: #fff;
    color: var(--aco-blue);
    font-size: 14px;
    font-weight: 900;
    line-height: 1.5;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.ako-back-home-link:hover,
.ako-back-home-link:focus {
    outline: 0;
    border-color: var(--aco-blue);
    background: rgba(64, 139, 218, 0.08);
    color: var(--aco-blue);
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(64, 139, 218, 0.14);
}

.aco-auth-right {
    direction: rtl;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
    padding: 54px 58px;
    background: linear-gradient(145deg, #408bda 0%, #216ebc 100%);
    color: #fff;
}

.aco-auth-right .aco-auth-title {
    margin: 0 0 8px;
    color: #fff;
    font-size: 34px;
    text-align: right;
}

.aco-auth-subtitle {
    margin: 0 0 28px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 15px;
    line-height: 1.9;
}

.aco-auth-right form,
.aco-auth-right .aco-auth-form {
    gap: 12px;
}

.aco-auth-right label,
.aco-auth-right .aco-auth-form label,
.aco-auth-right #capforest_login_form label {
    color: rgba(255, 255, 255, 0.92);
}

.aco-auth-right input[type="text"],
.aco-auth-right input[type="email"],
.aco-auth-right input[type="password"],
.aco-auth-right input[type="number"],
.aco-auth-right input[type="url"],
.aco-auth-right #capforest_login_form input[type="text"],
.aco-auth-right #capforest_login_form input[type="password"] {
    min-height: 54px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 999px;
    background: #fff;
    color: #0f172a;
}

.aco-auth-right input:focus,
.aco-auth-right #capforest_login_form input:focus {
    border-color: #fff;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.18);
}

.aco-auth-right input[type="submit"],
.aco-auth-right #capforest_login_form input[type="submit"],
.aco-auth-button {
    min-height: 54px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 999px;
    background: #408bda;
    color: #fff;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.18);
}

.aco-auth-right input[type="submit"]:hover,
.aco-auth-right #capforest_login_form input[type="submit"]:hover,
.aco-auth-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.24);
}

.aco-auth-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 18px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    color: #fff;
    background: transparent;
    text-decoration: none;
    font-weight: 900;
}

.aco-auth-right .login-remember {
    color: rgba(255, 255, 255, 0.82);
}

.aco-auth-right .login-remember label {
    color: rgba(255, 255, 255, 0.88);
}

.aco-auth-right .aco-auth-helper,
.aco-auth-right .aco-auth-terms {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.aco-auth-right .aco-auth-terms a {
    color: #fff;
}

.aco-auth-right .aco-auth-error,
.aco-auth-right > p {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.aco-auth-card-signup {
    min-height: 650px;
}

.aco-auth-card-signup .aco-auth-left,
.aco-auth-card-signup .aco-auth-right {
    max-height: 650px;
}

.aco-auth-card-signup .aco-auth-left {
    padding: 34px;
}

.aco-auth-image-signup {
    max-width: 470px;
    max-height: 560px;
}

.aco-auth-card-signup .aco-auth-right {
    justify-content: center;
    padding: 40px 44px;
}

.aco-auth-card-signup .aco-auth-title {
    font-size: 30px;
}

.aco-auth-card-signup .aco-auth-subtitle {
    margin-bottom: 20px;
}

.aco-auth-signup-form {
    gap: 14px;
}

.aco-auth-signup-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 14px;
}

.aco-auth-signup-field {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.aco-auth-card-signup .aco-auth-signup-field label {
    font-size: 13px;
}

.aco-auth-card-signup .aco-auth-signup-field input[type="text"],
.aco-auth-card-signup .aco-auth-signup-field input[type="email"],
.aco-auth-card-signup .aco-auth-signup-field input[type="password"] {
    min-height: 46px;
    padding: 10px 14px;
    font-size: 14px;
}

.aco-auth-card-signup .aco-auth-terms,
.aco-auth-signup-terms {
    justify-items: center;
    gap: 6px;
    padding: 11px 12px;
    text-align: center;
}

.aco-auth-card-signup .aco-auth-terms label {
    justify-content: center;
    font-size: 13px;
}

.aco-auth-card-signup input[type="submit"],
.aco-auth-signup-button {
    width: min(100%, 280px);
    justify-self: center;
    min-height: 48px;
}

@media (min-width: 1025px) {
    .aco-auth-wrapper {
        min-height: 100vh;
        align-items: center;
        padding: 48px 24px;
    }

    .aco-auth-card,
    .aco-auth-card-signup {
        width: min(92vw, 1350px);
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .aco-auth-card {
        min-height: 700px;
    }

    .aco-auth-card-signup {
        min-height: 760px;
    }

    .aco-auth-card-signup .aco-auth-left,
    .aco-auth-card-signup .aco-auth-right {
        max-height: none;
    }

    .aco-auth-left {
        padding: 58px;
    }

    .aco-auth-image {
        max-width: 560px;
        max-height: 620px;
    }

    .aco-auth-image-signup {
        max-width: 610px;
        max-height: 700px;
    }

    .aco-auth-right {
        overflow-y: visible;
        padding: 58px 64px;
    }

    .aco-auth-card-signup .aco-auth-right {
        padding: 48px 58px;
    }

    .aco-auth-signup-grid {
        gap: 14px 18px;
    }

    .aco-otp-send-row {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        align-items: center;
        width: 100%;
    }

    .aco-otp-send-row input[type="text"],
    .aco-otp-send-row input[type="tel"] {
        flex: 1 1 180px;
        min-width: 170px;
    }

    .aco-otp-send-row .aco-auth-secondary-button {
        flex: 0 0 auto;
        min-width: 128px;
        white-space: nowrap;
    }
}

@media (max-width: 1024px) {
    .aco-auth-card {
        width: min(100%, 920px);
    }

    .aco-auth-right {
        padding: 44px 38px;
    }

    .aco-dashboard-shell {
        grid-template-columns: 1fr;
        grid-template-areas:
            "sidebar"
            "content";
        gap: 18px;
    }

    .aco-dashboard-sidebar {
        position: static;
    }

    .aco-dashboard-menu {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .aco-dashboard-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1280px) {
    .aco-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .aco-plans-grid,
    .aco-plan-grid {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }
}

@media (max-width: 640px) {
    .aco-auth-wrapper {
        padding: 18px 10px;
    }

    .aco-auth-card,
    .aco-auth-card-signup {
        grid-template-columns: 1fr;
        width: 100%;
        min-height: auto;
        padding: 0;
        border-radius: 20px;
    }

    .aco-auth-card-signup .aco-auth-left,
    .aco-auth-card-signup .aco-auth-right {
        max-height: none;
    }

    .aco-auth-left {
        min-height: 220px;
        padding: 24px;
        border-radius: 20px 20px 0 0;
    }

    .aco-auth-image {
        max-width: 260px;
    }

    .aco-auth-right {
        padding: 28px 18px;
        border-radius: 0 0 20px 20px;
    }

    .aco-auth-right .aco-auth-title {
        font-size: 22px;
        margin-bottom: 18px;
        text-align: center;
    }

    .aco-auth-subtitle {
        margin-bottom: 20px;
        text-align: center;
    }

    .aco-auth-signup-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .aco-otp-send-row {
        grid-template-columns: 1fr;
    }

    .aco-auth-card-signup .aco-auth-left {
        min-height: 210px;
        padding: 20px;
    }

    .aco-auth-image-signup {
        max-width: 280px;
        max-height: 210px;
    }

    .aco-auth-card-signup .aco-auth-right {
        padding: 24px 16px;
    }

    .aco-auth-card input[type="text"],
    .aco-auth-card input[type="email"],
    .aco-auth-card input[type="password"],
    .aco-auth-card input[type="number"],
    .aco-auth-card input[type="url"],
    #capforest_login_form input[type="text"],
    #capforest_login_form input[type="password"],
    .aco-auth-card input[type="submit"],
    #capforest_login_form input[type="submit"] {
        min-height: 48px;
    }

    .aco-dashboard-shell {
        gap: 14px;
    }

    .aco-dashboard-sidebar {
        padding: 12px;
        border-radius: 16px;
    }

    .aco-dashboard-brand {
        grid-template-columns: 36px minmax(0, 1fr);
        padding-bottom: 12px;
    }

    .aco-dashboard-brand::before {
        width: 36px;
        height: 36px;
        border-radius: 11px;
    }

    .aco-dashboard-main {
        padding: 18px 14px;
        border-radius: 16px;
    }

    .aco-dashboard-header {
        display: block;
        margin-bottom: 16px;
        padding-bottom: 14px;
    }

    .aco-dashboard-header h2 {
        font-size: 21px;
    }

    .aco-dashboard-menu,
    .aco-dashboard-grid,
    .aco-plans-grid,
    .aco-plan-grid,
    .aco-withdraw-grid,
    .aco-withdrawal-grid,
    .aco-deposit-grid {
        grid-template-columns: 1fr;
    }

    .aco-selected-plan-details,
    .aco-plan-detail-grid {
        grid-template-columns: 1fr;
    }

    .aco-selected-plan-media,
    .aco-plan-image-box {
        max-width: 220px;
    }

    .aco-dashboard-summary-row,
    .aco-info-row {
        display: grid;
        gap: 8px;
        min-height: auto;
    }

    .aco-dashboard-summary-value {
        display: block;
        margin-top: 0;
        white-space: normal;
    }

    .aco-dashboard-menu a,
    .aco-dashboard-menu-item {
        font-size: 13px;
        min-height: 40px;
        padding: 8px 9px;
    }

    .aco-menu-icon {
        width: 26px;
        height: 26px;
        min-width: 26px;
    }

    .aco-plan-thumb {
        max-width: 120px;
    }
}
