* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: var(--primary-color);
    --primary-hover: #126988;
}

.text-primary,
.link-primary {
    color: var(--primary) !important;
}

.bg-primary,
.btn-primary,
.form-check-input:checked {
    background-color: var(--primary) !important;
}

.border-primary,
.btn-primary,
.btn-outline-primary,
.form-check-input:checked {
    border-color: var(--primary) !important;
}

.btn-outline-primary {
    color: var(--primary) !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
}

div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm) {
    background-color: var(--primary) !important;
}

div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm):hover {
    background-color: var(--primary-hover) !important;
}

div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel) {
    background-color: var(--bs-tertiary-color) !important;
}

div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel):hover {
    background-color: var(--bs-secondary-bg);
}

.error-notice {
    background: #fff0f0;
    border: 1px solid #dc3545;
    color: #dc3545;
}

body {
    font-family: "Cairo";
    background-color: var(--bg-color);
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
    padding: 40px;
}

.login-card {
    width: 100%;
    max-width: 520px;
    background-color: var(--white-color);
    padding: 38px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
}

.login-header {
    text-align: center;
    margin-bottom: 28px;
}

.logo {
    width: 120px;
    margin: 0 auto 20px;
}

.login-title {
    font-size: 24px;
    font-weight: 700;
    color: #24476B;
    margin-bottom: 5px;
}

.login-subtitle {
    font-size: 14px;
    color: var(--text-light);
}

.login-form .form-label {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 6px;
}

.custom-input {
    height: 42px;
    background-color: var(--input-bg);
    border: none;
    box-shadow: none !important;
    font-size: 13px;
}

.custom-input::placeholder {
    color: #888;
}

.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background-color: transparent;
    color: #777;
}

.remember-me {
    margin-top: 10px;
    margin-bottom: 18px;
}

.remember-me label {
    font-size: 12px;
    color: #888;
}

.btn-login {
    height: 42px;
    border: none;
    border-radius: 4px;
    background-color: var(--primary-color) !important;
    color: var(--white-color);
    font-weight: 600;
}

.btn-login:hover {
    background-color: #136B8C;
    color: var(--white-color);
}

.join-request {
    margin-top: 12px;
    text-align: center;
    font-size: 14px;
}

.join-request span {
    color: #888;
}

.join-request a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
}

.login-illustration img {
    max-width: 500px;
}


/* ==========================
Auth Card
========================== */

.auth-card {
    width: 100%;
    max-width: 520px;
    background-color: var(--white-color);
    padding: 36px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* ==========================
Custom Inputs
========================== */

.custom-input {
    height: 42px;
    background-color: #f1f1f1;
    border: none;
    box-shadow: none !important;
    font-size: 13px;
    color: var(--input-text);
}

.custom-input:focus {
    background-color: #f1f1f1;
    border: none;
    box-shadow: none !important;
}

.custom-input::placeholder {
    color: var(--text-light);
}

.form-select.custom-input {
    padding-right: 12px;
}

/* ==========================
Buttons
========================== */

.btn-primary-custom {
    height: 48px;
    border: none;
    border-radius: 4px;
    background-color: var(--primary-color);
    color: var(--white-color);
    font-size: 18px;
    font-weight: 700;
    transition: 0.3s;
}

.btn-primary-custom:hover {
    background-color: var(--primary-hover);
    color: var(--white-color);
}

/* ==========================
Auth Link
========================== */

.auth-link {
    margin-top: 12px;
    text-align: center;
    font-size: 16px;
    color: var(--text-dark);
}

.auth-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
}

/* ==========================
Success Message
========================== */

.success-message {
    text-align: center;
    padding: 30px 15px;
}

.success-logo {
    width: 120px;
    margin: 0 auto 20px;
}

.success-icon {
    margin-bottom: 12px;
}

.success-icon i {
    font-size: 22px;
    color: var(--primary-color);
}

.success-message h4 {
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 10px;
}

.success-message p {
    font-size: 22px;
    color: var(--text-dark);
}


/* ===================================
AUTH CARD
=================================== */

.auth-card {
    width: 100%;
    max-width: 520px;
    background-color: var(--white-color);
    padding: 36px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* ===================================
CUSTOM INPUTS
=================================== */

.custom-input {
    height: 46px;
    background-color: var(--input-bg);
    border: none;
    border-radius: 6px;
    color: var(--input-text);
    font-size: 14px;
    box-shadow: none !important;
}

.custom-input:focus {
    background-color: var(--input-bg);
    border: none;
    box-shadow: none !important;
}

.custom-input::placeholder {
    color: #8c8c8c;
}

.form-select.custom-input {
    padding-right: 12px;
}

/* ===================================
PRIMARY BUTTON
=================================== */

.btn-primary-custom {
    height: 48px;
    border: none;
    border-radius: 6px;
    background-color: var(--primary-color);
    color: var(--white-color);
    font-size: 16px;
    font-weight: 700;
    transition: 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: var(--primary-hover);
    color: var(--white-color);
}

/* ===================================
AUTH LINKS
=================================== */

.auth-link {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
    color: var(--input-text);
}

.auth-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
}

.auth-link a:hover {
    color: var(--primary-hover);
}

/* ===================================
SUCCESS MESSAGE
=================================== */

.success-message {
    text-align: center;
    padding: 20px 10px;
}

.success-logo {
    width: 120px;
    margin: 0 auto 20px;
}

.success-icon {
    margin-bottom: 15px;
}

.success-icon i {
    font-size: 26px;
    color: var(--primary-color);
}

.success-message h4 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.success-message p {
    font-size: 15px;
    color: var(--input-text);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* ===================================
JOIN REQUEST PAGE
=================================== */

.join-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

/* ===================================
ILLUSTRATION
=================================== */

.join-illustration {
    flex: 0 0 auto;
    margin-left: -60px;

    display: flex;
    align-items: center;
    justify-content: center;

}

.join-illustration img {
    width: 100%;
    max-width: 700px;
}

/* ===================================
CARD
=================================== */

.join-card {
    max-width: 540px;
}

/* ===================================
HEADER
=================================== */

.join-header {
    text-align: center;
    margin-bottom: 25px;
}

.logo {
    width: 120px;
    margin: 0 auto 18px;
}

.join-title {
    font-size: 26px;
    font-weight: 700;
    color: #246b93;
    margin-bottom: 8px;
}

.join-subtitle {
    font-size: 14px;
    color: var(--input-text);
    line-height: 1.8;
}

/* ===================================
FORM
=================================== */

.form-label {
    display: block;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 8px;
    font-weight: 500;
}

.row .custom-input {
    font-size: 13px;
}

/* ===================================
SUCCESS STATE
=================================== */

.success-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.success-message .btn-primary-custom {
    min-width: 220px;
}

.custom-input,
.custom-input::placeholder {
    text-align: right;
}


/* ===================================
   DASHBOARD HEADER
=================================== */
.dashboard-header {
    background-color: var(--white-color);
    padding: 18px 0px;
}

/* ===================================
   NAVBAR
=================================== */

.dashboard-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ===================================
   BRAND
=================================== */

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-logo {
    height: 34px;
    width: auto;
}

.navbar-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}

.navbar-user {
    transition: .25s;
    border-radius: 8px;
    padding: 2px 10px;
}

.navbar-user:hover {
    background: var(--bg-color);
}

.vr {
    opacity: .15;
}

/* ===================================
   ACTIONS
=================================== */

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

/* ===================================
   BUTTONS
=================================== */

.navbar-btn {
    background-color: transparent;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.navbar-btn i {
    font-size: 18px;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.navbar-btn:hover i {
    color: var(--primary-color);
}

.notification-dropdown {

    width: 280px;

    border: none;

    border-radius: 12px;

    padding: 0;

    overflow: hidden;

    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

.notification-header {

    padding: 14px 18px;

    font-weight: 700;

    border-bottom: 1px solid var(--border-color);

    text-align: right;
}

.notification-empty {

    padding: 30px 20px;

    text-align: center;
}

.notification-empty i {

    font-size: 28px;

    color: #B8C1CC;

    margin-bottom: 12px;

    display: block;
}

.notification-empty p {

    margin: 0;

    color: var(--text-light);

    font-size: 14px;
}

/* ===================================
LOGOUT BUTTON
=================================== */

.logout-btn {

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    height: 40px;

    padding: 0 16px;

    border-radius: 8px;
    background-color: var(--primary-color);

    color: var(--white-color);

    font-size: 14px;

    font-weight: 600;

    line-height: 1;

    text-decoration: none;
}

.logout-btn:hover {

    background-color: var(--primary-hover);

    color: var(--white-color);

}

.logout-btn i {

    font-size: 16px;
    transform: scaleX(-1);

}

/* ===================================
HERO SECTION
=================================== */
.hero-section {
    padding: 30px 0px 20px;
}

.hero-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.hero-icon {
    width: 32px;
    height: 32px;
}

.hero-title {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);

}

.hero-subtitle {
    margin: 0;
    font-size: 16px;
    color: var(--text-light);
}


/* =====================================
BREADCRUMB
===================================== */
.custom-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.custom-breadcrumb li {
    display: flex;
    align-items: center;
}

.custom-breadcrumb a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    transition: .3s;
}

.custom-breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb-separator {
    color: var(--text-light);
    font-size: 11px;
}

.custom-breadcrumb .active {
    color: var(--text-dark);
    font-weight: 700;
}

/* ===================================
WALLET SUMMARY
=================================== */

.wallet-summary {

    display: flex;

    justify-content: flex-start;

    margin-bottom: 24px;

}

.wallet-summary-card {

    display: flex;

    align-items: center;

    gap: 14px;

    background-color: var(--white-color);

    padding: 8px;

    border-radius: 10px;

}

/* ===================================
ADD BALANCE BUTTON
=================================== */

.add-balance-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 18px;
    border: none;
    border-radius: 6px;
    background-color: var(--wallet-color);
    color: var(--white-color);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.add-balance-btn i {
    font-size: 16px;
}

.add-balance-btn:hover {
    background-color: var(--wallet-hover);
}

.create-card-btn {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 18px;
    background-color: var(--success-color);
    color: var(--white-color);
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.create-card-btn:hover {
    background-color: var(--success-hover);
}

/* ===================================
SUMMARY ITEMS
=================================== */

.summary-item {

    position: relative;

    display: flex;

    align-items: center;

    gap: 6px;

    padding-right: 12px;

    font-size: 14px;

    color: var(--text-light);

}

.summary-item i {

    font-size: 16px;

    color: var(--text-light);

}

.balance {

    color: var(--primary-color);

    font-weight: 700;
}

.balance i {

    color: var(--primary-color);
}

/* ===================================
   FILTER
=================================== */

.filter-btn {

    display: flex;

    align-items: center;

    gap: 8px;

    height: 34px;

    min-width: 115px;

    padding: 0 12px;

    background-color: var(--white-color);

    border: 1px solid var(--border-color);

    border-radius: 6px;

    font-size: 12px;

    cursor: pointer;
}

.filter-label {

    color: var(--text-dark);

    font-weight: 600;
}

.filter-value {

    color: var(--text-light);
}

.filter-divider {

    width: 1px;

    height: 14px;

    background-color: var(--border-color);
}

.filter-btn i {

    color: var(--text-light);

    font-size: 11px;

    transition: .3s;
}

/* Bootstrap Open State */

.filter-dropdown.show .filter-btn i {

    transform: rotate(180deg);
}


/* ===================================
TABLE CARD
=================================== */

.table-card {

    background-color: var(--white-color);

    border-radius: 12px;

    overflow: hidden;

}




/* ===================================
PAGINATION
=================================== */

.pagination {
    margin: 0;

}

.page-link {
    background: var(--white-color);

    color: var(--text-dark);

    border-color: var(--border-color);
}

.page-link:hover {

    color: var(--primary-color);

}

.page-item.active .page-link {
    background-color: var(--primary-color);

    border-color: var(--primary-color);

}

.page-item.active .page-link:hover {

    background-color: var(--primary-color);

    border-color: var(--primary-color);

}

.table-footer {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.results-count {
    color: var(--text-light);
    font-size: 14px;
    font-weight: 500;
}

.step-number {
    width: 24px;
    height: 24px;
    min-width: 24px;
    border-radius: 50%;
    background: var(--selection-color);
    color: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* ===================================
RESPONSIVE
=================================== */

@media (max-width: 1200px) {}

@media (max-width: 992px) {
    .create-card-layout {
        grid-template-columns: 1fr;
    }

    .create-card-sidebar {
        order: 1;
    }

    .order-summary-card {
        order: 2;
    }
}

@media (max-width: 576px) {
    .summary-actions {
        flex-direction: column;
    }
}



/* =====================================
STEPS SECTION
===================================== */

.steps-section {

    margin-bottom: 24px;
}

/* =====================================
WALLET STEPS
===================================== */

.wallet-steps {

    display: flex;

    align-items: center;

    justify-content: flex-start;

    width: 100%;

    overflow-x: auto;

    scrollbar-width: none;

    -ms-overflow-style: none;
}

.wallet-steps::-webkit-scrollbar {

    display: none;
}

.step-item {

    height: 52px;

    min-width: 160px;

    padding: 0 18px;

    border: 1px solid var(--border-color);

    border-radius: 999px;

    background-color: var(--white-color);

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    flex-shrink: 0;
}

.step-item.active {

    background-color: var(--primary-color);

    border-color: var(--primary-color);
}

.step-title {

    font-size: 16px;

    font-weight: 600;

    color: var(--text-light);

    white-space: nowrap;
}

.step-item.active .step-title {

    color: var(--white-color);
}

.step-number {

    width: 34px;

    height: 34px;

    border-radius: 50%;

    background-color: var(--white-color);

    border: 1px solid var(--border-color);

    color: #7C8593;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 15px;

    font-weight: 700;

    flex-shrink: 0;
}

.step-item.active .step-number {

    border-color: var(--white-color);

    color: var(--primary-color);
}

.step-line {

    width: 36px;

    height: 1px;

    background-color: var(--border-color);

    flex-shrink: 0;
}

.wallet-transfer-image-card,
.wallet-bank-card {
    flex: 1;
    background-color: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 16px;
}

.wallet-transfer-image-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.wallet-transfer-image {
    width: 100%;
    display: block;
    margin-bottom: 24px;
    border-radius: 12px;


}

.wallet-primary-btn {
    display: flex;
    align-items: center;

    justify-content: center;
    line-height: normal;

    padding: 0 24px;
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 8px;
    background-color: var(--primary-color);
    color: var(--white-color);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
}

.wallet-primary-btn:hover {

    background: var(--primary-hover);
}












.table-card {

    background-color: var(--white-color);

    border: 1px solid var(--border-color);

    border-radius: 16px;

    overflow: hidden;
}


.profit {

    color: var(--success-color);

    font-weight: 600;
}

.loss {

    color: var(--danger-color);

    font-weight: 600;
}


.status-completed {
    background-color: var(--success-bg);
    color: var(--success-color);
    padding: 8px 14px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
}

.status-success {
    background-color: var(--success-bg);
    color: var(--success-color);
    padding: 8px 14px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
}

.status-pending {
    background-color: #FEF3C7;
    color: #D97706;
    padding: 8px 14px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
}

.status-rejected {
    background-color: var(--danger-bg);
    color: var(--danger-color);
    padding: 8px 14px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
}

.table-footer {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 16px 24px;

    border-top: 1px solid var(--border-color);
}

.table-count {

    color: var(--text-light);

    font-size: 14px;
}