/* assets/css/style.css */
@font-face {
    font-family: 'IRANSans';
    src: url('../fonts/IRANSans.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
/*  --primary-color: #0d3b66; */
:root {
    --primary-color: rgb(18, 28, 48);
    --secondary-color: #139adc;
    --accent-color: #2a9d8f;
    --light-color: #f8f9fa;
    --dark-color: rgb(18, 28, 48);
    --danger-color: #e63946;
    --success-color: #2a9d8f;
    --warning-color: #ffb703;
    --gray-color: #6c757d;
    --border-color: #e9ecef;
}

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

body {
    font-family: 'IRANSans', Tahoma, Arial, sans-serif;
    direction: rtl;
    text-align: right;
    line-height: 1.6;
    background-color: #f5f5f5;
    color: #333;
    
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col {
    flex: 1;
    padding: 0 15px;
}

/* Header styles */
.header {
    background-color: white;
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.navbar ul {
    display: flex;
    list-style: none;
    margin-bottom: unset !important;
}

.navbar li {
    margin-right: 1.5rem;
}

.navbar a {
    color: black;
    text-decoration: none;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.navbar a:hover {
    color: var(--secondary-color);
}

/* Button styles */
.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: #0a2f50;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: #e8924a;
}

.btn-success {
    background-color: var(--success-color);
    color: white;
}

.btn-success:hover {
    background-color: #238b7e;
}

.btn-danger {
    background-color: var(--danger-color);
    color: white;
}

.btn-danger:hover {
    background-color: #d42836;
}

/* Form styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-family: 'IRANSans', Tahoma, Arial, sans-serif;
}

.form-control:focus {
    border-color: var(--primary-color);
    outline: none;
}

/* Card styles */
.card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.card-header {
    padding: 1rem;
    background-color: var(--light-color);
    border-bottom: 1px solid var(--border-color);
    font-weight: bold;
}

.card-body {
    padding: 1.5rem;
}

.card-footer {
    padding: 1rem;
    background-color: var(--light-color);
    border-top: 1px solid var(--border-color);
}

/* Alert styles */
.alert {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Table styles */
.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.table th {
    text-align: right;
    background-color: var(--light-color);
}

.table tr:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

/* Responsive utility classes */
.d-flex {
    display: flex;
}

.justify-content-between {
    justify-content: space-between;
}

.align-items-center {
    align-items: center;
}

.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* Hero section for landing page */
.hero {
    background-color: var(--primary-color);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Features section */
.features {
    padding: 4rem 0;
}

.features-heading {
    text-align: center;
    margin-bottom: 3rem;
}

.feature-box {
    text-align: center;
    padding: 1.5rem;
}

.feature-box i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-box h3 {
    margin-bottom: 1rem;
}

/* Auth pages */
.auth-container {
    max-width: 500px;
    margin: 2rem auto;
    padding: 2rem;
}

.auth-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-title {
    text-align: center;
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 3rem 0;
}

.footer-links {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.footer-links h3 {
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #e9ecef;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive styles */
@media (max-width: 768px) {
    .navbar ul {
        flex-direction: column;
    }
    
    .navbar li {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .row {
        flex-direction: column;
    }
    
    .footer-links {
        flex-direction: column;
    }
    
    .footer-links > div {
        margin-bottom: 2rem;
    }
}
/* assets/css/style.css (additional styles) */

/* Status indicators */
.status-indicator {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-pending {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.status-approved {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-rejected {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Position styles for password toggle */
.position-relative {
    position: relative;
}

.password-toggle {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
}

/* Step boxes in how it works section */
.step-box {
    padding: 2rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.step-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 1rem;
}

/* Contact info styles */
.contact-info {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-left: 1rem;
    min-width: 30px;
    text-align: center;
}

.contact-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

/* Social links in footer */
.social-links {
    display: flex;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Pagination styles */
.pagination {
    display: flex;
    padding-right: 0;
    list-style: none;
}

.page-item:first-child .page-link {
    border-top-right-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
}

.page-item:last-child .page-link {
    border-top-left-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
}

.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    cursor: auto;
    background-color: #fff;
    border-color: #dee2e6;
}

.page-link {
    position: relative;
    display: block;
    padding: 0.5rem 0.75rem;
    margin-right: -1px;
    line-height: 1.25;
    color: var(--primary-color);
    background-color: #fff;
    border: 1px solid #dee2e6;
    text-decoration: none;
}

.page-link:hover {
    z-index: 2;
    color: var(--primary-color);
    text-decoration: none;
    background-color: #e9ecef;
    border-color: #dee2e6;
}

.page-link:focus {
    z-index: 3;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(13, 59, 102, 0.25);
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1055;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: 1.75rem auto;
    max-width: 500px;
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: #fff;
    border-radius: 0.3rem;
    outline: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    border-top-left-radius: 0.3rem;
    border-top-right-radius: 0.3rem;
}

.modal-title {
    margin-bottom: 0;
    line-height: 1.5;
}

.modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 1rem;
}

.modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 1rem;
    border-top: 1px solid #e9ecef;
}

.close {
    float: left;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.close:hover {
    color: #000;
    text-decoration: none;
    opacity: .75;
}

/* Auth form improvements */
.auth-container {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.auth-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-title {
    color: var(--primary-color);
    font-weight: bold;
}

/* Payment options for wallet deposit */
.payment-options {
    margin-bottom: 1.5rem;
}

.payment-option-card {
    position: relative;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%;
}

.payment-option-card input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.payment-option-card input[type="radio"]:checked + .payment-option-label {
    color: var(--primary-color);
}

.payment-option-card input[type="radio"]:checked + .payment-option-label::before {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    bottom: -2px;
    left: -2px;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    z-index: 1;
}

.payment-option-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.payment-option-label img {
    height: 40px;
    margin-bottom: 0.5rem;
    object-fit: contain;
}

/* Payment result page */
.payment-result-card {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.payment-success i,
.payment-failed i {
    font-size: 5rem;
}

.payment-success i {
    color: var(--success-color);
}

.payment-failed i {
    color: var(--danger-color);
}

.payment-details {
    background-color: var(--light-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.payment-detail-item {
    margin-bottom: 0.5rem;
}

.detail-label {
    font-weight: bold;
    color: var(--dark-color);
}

.detail-value {
    font-weight: 500;
}

/* Payment instructions in wallet pages */
.payment-instructions {
    padding: 1rem 0;
}

.instruction-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.instruction-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-left: 1rem;
    flex-shrink: 0;
}

.instruction-content h4 {
    margin-bottom: 0.5rem;
}

/* Bank info display in withdraw request */
.bank-info-display {
    background-color: var(--light-color);
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

/* Withdraw instructions */
.withdraw-instructions {
    padding: 1rem 0;
}

.instruction-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.instruction-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--light-color);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-left: 1rem;
    flex-shrink: 0;
}

.instruction-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

/* Quick access grid in admin dashboard */
.quick-access-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.quick-access-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
    border-radius: 8px;
    background-color: var(--light-color);
    color: var(--dark-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.quick-access-item:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-5px);
}

.quick-access-item i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* Financial summary in admin dashboard */
.financial-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.financial-item {
    flex: 1;
    min-width: 200px;
    padding: 1.5rem;
    background-color: var(--light-color);
    border-radius: 8px;
    text-align: center;
}

.financial-item-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--gray-color);
}

.financial-item-value {
    font-size: 1.5rem;
    font-weight: bold;
}

/* Utility classes */
.w-100 { width: 100% !important; }
.w-50 { width: 50% !important; }
.h-100 { height: 100% !important; }

.mr-1 { margin-right: 0.5rem !important; }
.mr-2 { margin-right: 1rem !important; }
.mr-3 { margin-right: 1.5rem !important; }
.mr-4 { margin-right: 2rem !important; }
.mr-auto { margin-right: auto !important; }

.ml-1 { margin-left: 0.5rem !important; }
.ml-2 { margin-left: 1rem !important; }
.ml-3 { margin-left: 1.5rem !important; }
.ml-4 { margin-left: 2rem !important; }
.ml-auto { margin-left: auto !important; }

.pl-1 { padding-left: 0.5rem !important; }
.pl-2 { padding-left: 1rem !important; }
.pl-3 { padding-left: 1.5rem !important; }
.pl-4 { padding-left: 2rem !important; }

.pr-1 { padding-right: 0.5rem !important; }
.pr-2 { padding-right: 1rem !important; }
.pr-3 { padding-right: 1.5rem !important; }
.pr-4 { padding-right: 2rem !important; }

.py-1 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.py-2 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-3 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.py-4 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }

.px-1 { padding-right: 0.5rem !important; padding-left: 0.5rem !important; }
.px-2 { padding-right: 1rem !important; padding-left: 1rem !important; }
.px-3 { padding-right: 1.5rem !important; padding-left: 1.5rem !important; }
.px-4 { padding-right: 2rem !important; padding-left: 2rem !important; }
.px-5 { padding-right: 3rem !important; padding-left: 3rem !important; }

.text-success { color: var(--success-color) !important; }
.text-danger { color: var(--danger-color) !important; }
.text-warning { color: var(--warning-color) !important; }
.text-info { color: var(--accent-color) !important; }
.text-muted { color: var(--gray-color) !important; }
.text-primary { color: var(--primary-color) !important; }

.bg-light { background-color: var(--light-color) !important; }
.bg-white { background-color: white !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.bg-success { background-color: var(--success-color) !important; }
.bg-warning { background-color: var(--warning-color) !important; }
.bg-danger { background-color: var(--danger-color) !important; }
.bg-info { background-color: var(--accent-color) !important; }

.border { border: 1px solid var(--border-color) !important; }
.border-top { border-top: 1px solid var(--border-color) !important; }
.border-bottom { border-bottom: 1px solid var(--border-color) !important; }
.border-right { border-right: 1px solid var(--border-color) !important; }
.border-left { border-left: 1px solid var(--border-color) !important; }

.rounded { border-radius: 0.25rem !important; }
.rounded-circle { border-radius: 50% !important; }

.img-fluid { max-width: 100%; height: auto; }
.img-thumbnail { padding: 0.25rem; background-color: #fff; border: 1px solid var(--border-color); border-radius: 0.25rem; max-width: 100%; height: auto; }

.btn-lg { padding: 0.75rem 1.5rem; font-size: 1.125rem; }
.btn-sm { padding: 0.25rem 0.75rem; font-size: 0.875rem; }

@font-face {
  font-family: 'Peyda100';
  src: url('../fonts/PeydaWebFaNum-Thin.4dc9791976a333b36501.woff2') format('woff2');
  font-weight: 100;
  font-style: normal;
}
@font-face {
  font-family: 'Peyda200';
  src: url('../fonts/PeydaWebFaNum-ExtraLight.cb12d7d5e9d6131c285f.woff') format('woff');
  font-weight: 200;
  font-style: normal;
}
@font-face {
  font-family: 'Peyda300';
  src: url('../fonts/PeydaWebFaNum-Light.e5c4aa2be8084a7fd345.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'Peyda400';
  src: url('../fonts/PeydaWebFaNum-Regular.a85fc388413d6fb2707b.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Peyda500';
  src: url('../fonts/PeydaWebFaNum-Medium.5ae94427bffc3c292a70.woff') format('woff');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'Peyda600';
  src: url('../fonts/PeydaWebFaNum-SemiBold.bee880ae22ea6f0f046e.woff') format('woff');
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: 'Peyda700';
  src: url('../fonts/PeydaWebFaNum-Bold.2106f9398d9799d35d55.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'Peyda800';
  src: url('../fonts/PeydaWebFaNum-ExtraBold.5d0e4f0b138c23493636.woff') format('woff');
  font-weight: 800;
  font-style: normal;
}
@font-face {
  font-family: 'Peyda900';
  src: url('../fonts/PeydaWebFaNum-Black.ce8ffc88f1303a4ed135.woff') format('woff');
  font-weight: 900;
  font-style: normal;
}
body, html {
  font-family: 'Peyda400', sans-serif !important; /* Regular */
  font-weight: 400 !important;
}

h1, h2 {
  font-family: 'Peyda900', sans-serif !important; /* Black */
  font-weight: 900 !important;
}

h3, h4 {
  font-family: 'Peyda700', sans-serif !important; /* Bold */
  font-weight: 700 !important;
}

p {
  font-family: 'Peyda300', sans-serif !important; /* Light */
  font-weight: 300 !important;
}

strong, b {
  font-family: 'Peyda800', sans-serif !important; /* ExtraBold */
  font-weight: 800 !important;
}

em {
  font-family: 'Peyda200', sans-serif !important; /* ExtraLight */
  font-weight: 200 !important;
}

a {
  font-family: 'Peyda500', sans-serif !important; /* Medium */
  font-weight: 500 !important;
}

small, .caption {
  font-family: 'Peyda100', sans-serif !important; /* Thin */
  font-weight: 100 !important;
}

button, input, textarea, select {
  font-family: 'Peyda600', sans-serif !important; /* SemiBold */
  font-weight: 600 !important;
}

.category-badge {
            position: absolute;
            top: 10px;
            left: 10px;
            background: rgb(38 , 141 ,  128);
            color: white;
            padding: 5px 10px;
            border-radius: 15px;
            font-size: 12px;
            z-index: 10;
        }
        
        .pre-sale{
            background: rgb(141 ,  38 ,  63);
        }
        .residential{
             background: rgb(38 , 141 ,  128);
        }
        .commercial{
      
             background:  rgb(201 ,  91  , 0);
        }
        
        .bg-primary{
            color:white !important;
        }