﻿/* ریشه صفحه */
.profile-root {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ناحیه اصلی (بین هدر و فوتر) */
.profile-main {
    flex: 1;
    display: flex;
}

/* Ant Layout */
.profile-layout {
    flex: 1;
    min-height: 100%;
}



/* لوگو */
.profile-logo {
    padding: 16px;
    text-align: center;
}

/* Footer */
.profile-footer {
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    padding: 12px 0;
    
}
.profile-footer-copy{
    color:black;
}

.profile-user-info {
    color: white;
    padding: 0 12px;
}

.profile-user-name {
    font-weight: 600;
    margin-bottom: 0;
}

.profile-user-mobile {
    font-size: 0.85rem;
    color: #f0f0f0;
    margin-top: 2px;
}

/*action-page*****************************************************************/
.action-page {
    background-color: #f5f7fa;
}

.action-row {
    min-height: calc(100vh - 120px);
}

.action-card {
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.action-content {
    text-align: center;
}

.action-icon {
    font-size: 48px;
    color: #1677ff;
    margin-bottom: 16px;
}

.action-title {
    margin-bottom: 12px;
    font-weight: 600;
}

.action-description {
    color: #666;
    margin-bottom: 24px;
    line-height: 1.8;
}

/*payment-index*******************************************************************/
.payment-info {
    margin-bottom: 24px;
}

.payment-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed #e8e8e8;
}

    .payment-row:last-child {
        border-bottom: none;
    }

    .payment-row .label {
        color: #666;
    }

    .payment-row .value {
        font-weight: 500;
    }

    .payment-row .amount {
        color: #1677ff;
        font-size: 16px;
    }

/*PaymentResult*********************************************************************/
/* فاصله مناسب بین Result و دکمه */
.ant-result-extra {
    margin-top: 24px;
}

/* وسط‌چین شدن کامل محتوا */
.ant-result {
    padding: 0;
}

.action-card .ant-btn {
    white-space: normal; /* اجازه wrap متن */
    height: auto;
    min-height: 44px;
    padding: 10px 16px;
    line-height: 1.6;
    font-size: 15px;
}

/* موبایل */
@media (max-width: 576px) {
    .action-card .ant-btn {
        font-size: 14px;
        padding: 8px 12px;
    }
}

/* تبلت */
@media (min-width: 577px) and (max-width: 768px) {
    .action-card .ant-btn {
        font-size: 15px;
    }
}

.card-center {
    max-width: 400px;
    width: 100%;
}

.otp-input {
    text-align: center;
    font-size: 1.2rem;
    letter-spacing: 0.2rem;
    margin-bottom: 1rem;
}

.resend-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}


/*ProfileItem********************************************************/
.profile-item {
    background-color: #f8f9fa;
    border-radius: 6px;
    padding: 12px 14px;
    height: 100%;
}

.profile-item-title {
    font-size: 0.75rem;
    color: #6c757d;
    margin-bottom: 4px;
}

.profile-item-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: #212529;
    word-break: break-word;
}

.profile-page .ant-card-body {
    padding-top: 25px !important;
}

/*dashboard-header********************************************************/
.dashboard-header-rtl {
    display: flex;
    flex-direction: row-reverse; /* ✅ کلید حل مشکل */
    align-items: center;
    width: 100%;
    margin-bottom: 24px;
    text-align: right;
    margin-top: 20px;
}

/* کادر عنوان */
.dashboard-header-title {
    padding: 8px 24px;
    border: 2px solid #1f3c88;
    border-radius: 999px;
    font-size: 18px;
    font-weight: 600;
    color: #1f3c88;
    background-color: #ffffff;
    white-space: nowrap;
    margin-right: 5px;
}

/* خط افقی */
.dashboard-header-line {
    flex: 1;
    height: 2px;
    background: linear-gradient( to right, #1f3c88, rgba(31, 60, 136, 0.15) );
}


/* ریسپانسیو */
@media (max-width: 768px) {
    .dashboard-header__title {
        font-size: 16px;
        padding: 6px 18px;
    }
}
