
p {
    color: var(--neutral-700);
    margin-bottom: 10px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 15px;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    background: var(--primary-blue);
    border-bottom: 1px solid var(--neutral-200);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Landing page RTL layout */

body.layout-rtl {
    direction: rtl;
}

body.layout-rtl .nav-container {
    flex-direction: row-reverse;
    direction: ltr!important;
}

body.layout-rtl .nav-menu {
    flex-direction: row-reverse;
}

body.layout-rtl .hero {
    flex-direction: row-reverse;
    text-align: right;
}

body.layout-rtl .hero-content,
body.layout-rtl .hero-image {
    text-align: right;
}

body.layout-rtl .features-grid {
    text-align: right;
}

body.layout-rtl .feature-card {
    text-align: center;
}

body.layout-rtl .services-grid {
    text-align: center;
}

body.layout-rtl .service-item {
    text-align: center;
}

body.layout-rtl .footer-content {
    text-align: right;
}

body.layout-rtl .footer-section {
    text-align: right;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 50%, var(--primary-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-icon {
    font-size: 1.75rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--neutral-50);
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--neutral-1000);
}

.landing-nav-menu {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 30px;
}

.landing-nav-menu .menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s;
}

.landing-nav-menu .menu-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.landing-nav-menu .menu-icon {
    font-size: 1.5rem;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-family: 'IRANSans'!important;

}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
    color: var(--white);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    opacity: 0.9;
}

.btn-secondary {
    background-color: var(--neutral-200);
    color: var(--neutral-700);
    border: 1px solid var(--neutral-300);
}

.btn-secondary:hover {
    background-color: var(--neutral-300);
}

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

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

.btn-full {
    width: 100%;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-signup {
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--neutral-1000) 100%);
    color: var(--white);
    padding: 0.5rem 0.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--neutral-900);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 1px solid var(--neutral-300);
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: 'IRANSans'!important;

    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px var(--light-blue);
}

.form-group.checkbox {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
}

.form-group.checkbox input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    margin: 0;
    cursor: pointer;
}

.form-group.checkbox label {
    margin-bottom: 0;
    cursor: pointer;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.form-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--neutral-200);
}

.form-section:last-child {
    border-bottom: none;
}

.form-full {
    max-width: 800px;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    margin-top: 2rem;
}

.error {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--light-purple) 50%, var(--light-green) 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-family: 'IRANSans'!important;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--neutral-900);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--neutral-700);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    position: relative;
    height: 400px;
}

.floating-card {
    position: absolute;
    background: var(--white);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    border: 2px solid transparent;
}

.card-1 {
    top: 0;
    left: 0;
    width: 250px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
    color: var(--white);
    animation: float 3s ease-in-out infinite;
}

.card-2 {
    bottom: 20px;
    right: 0;
    width: 200px;
    border-color: var(--primary-green);
    animation: float 3s ease-in-out infinite 0.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.card-header {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.card-body {
    font-size: 0.875rem;
}

.stat {
    padding: 0.5rem 0;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
    padding: 5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    background: var(--neutral-50);
    border-radius: 1rem;
    border-left: 4px solid var(--primary-blue);
    transition: all 0.3s;
}

.feature-card:nth-child(2) {
    border-left-color: var(--primary-purple);
}

.feature-card:nth-child(3) {
    border-left-color: var(--primary-green);
}

.feature-card:nth-child(4) {
    border-left-color: var(--primary-blue);
}

.feature-card:nth-child(5) {
    border-left-color: var(--primary-purple);
}

.feature-card:nth-child(6) {
    border-left-color: var(--primary-green);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

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

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    padding: 5rem 2rem;
    background-color: var(--neutral-50);
    max-width: 1400px;
    margin: 0 auto;
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    border-top: 4px solid var(--primary-blue);
    transition: all 0.3s;
}

.service-item:nth-child(2) {
    border-top-color: var(--primary-purple);
}

.service-item:nth-child(3) {
    border-top-color: var(--primary-green);
}

.service-item:nth-child(4) {
    border-top-color: var(--primary-blue);
}

.service-item:hover {
    box-shadow: var(--shadow-lg);
}

.service-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
    color: var(--white);
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing {
    padding: 5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.pricing h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background: var(--white);
    border: 2px solid var(--neutral-200);
    border-radius: 1rem;
    padding: 2rem;
    position: relative;
    transition: all 0.3s;
}

.pricing-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-10px);
}

.pricing-card.featured {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.price span {
    font-size: 1rem;
    color: var(--neutral-500);
    font-weight: 400;
}

.features-list {
    list-style: none;
    margin-bottom: 2rem;
}

.features-list li {
    padding: 0.75rem 0;
    color: var(--neutral-700);
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-green);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    position: absolute;
    top: 1rem;
    left: 1rem;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 50%, var(--primary-green) 100%);
    color: var(--white);
    text-align: center;
    margin: 3rem 0;
}

.cta h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background-color: var(--neutral-900);
    color: var(--white);
    padding: 3rem 2rem 1rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--white);
}

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

/* ============================================
   AUTHENTICATION PAGES
   ============================================ */
.auth-container {
    display: flex;
    min-height: calc(100vh - 60px);
    gap: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--light-purple) 50%, var(--light-green) 100%);
}

.auth-card {
    background: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    flex: 1;
    max-width: 450px;
    box-shadow: var(--shadow-lg);
}

.auth-card h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.auth-card .subtitle {
    color: var(--neutral-500);
    margin-bottom: 2rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
}

.auth-link {
    text-align: center;
    margin-top: 1.5rem;
}

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

.auth-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-info h2 {
    color: var(--neutral-900);
    margin-bottom: 2rem;
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    color: var(--neutral-700);
}

.benefit-icon {
    color: var(--primary-green);
    font-weight: 700;
    font-size: 1.5rem;
}

/* ============================================
   DASHBOARD
   ============================================ */
.dashboard-container {
    display: flex;
    min-height: 100vh;
}


.sidebar-header .logo {
    color: var(--white);
    margin-bottom: 2rem;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
}

.menu-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.menu-item.active {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border-left: 3px solid var(--primary-green);
}

.dashboard-container.sidebar-right .menu-item.active {
    border-left: none;
    border-right: 3px solid var(--primary-green);
}

.menu-icon {
    font-size: 1.5rem;
}

.sidebar-footer {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.logout-btn {
    text-align: center;
    color: var(--white);
    text-decoration: none;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.5rem;
    transition: all 0.3s;
}

.logout-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}



.sidebar {
    width: 280px;
    background: linear-gradient(180deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
    color: var(--white);
    padding: 2rem 1.5rem;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
}

.dashboard-main {
    margin-left: 280px;
    flex: 1;
    background-color: var(--neutral-50);
}

.dashboard-header {
    background: var(--white);
    padding: 0.2rem;
    border-bottom: 1px solid var(--neutral-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.header-left h1 {
    margin-bottom: 0.5rem;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-profile {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--light-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.user-profile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dashboard-content {
    padding: 2rem;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--white);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    border-top: 4px solid var(--primary-blue);
}

.stat-card:nth-child(2) {
    border-top-color: var(--primary-purple);
}

.stat-card:nth-child(3) {
    border-top-color: var(--primary-green);
}

.stat-card:nth-child(4) {
    border-top-color: var(--primary-blue);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.stat-header h3 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--neutral-500);
    margin-bottom: 0;
}

.stat-icon {
    font-size: 2rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 0.5rem;
}

.stat-change {
    font-size: 0.875rem;
    font-weight: 600;
}

.stat-change.positive {
    color: var(--primary-green);
}

.stat-change.negative {
    color: #ef4444;
}

/* ============================================
   QUICK ACTIONS
   ============================================ */
.quick-actions {
    margin-bottom: 3rem;
}

.quick-actions h2 {
    margin-bottom: 1.5rem;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.action-card {
    background: var(--white);
    border: 2px solid var(--neutral-200);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
}

.action-card:hover {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-md);
}

.action-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.action-card h3 {
    margin-bottom: 0.5rem;
}

.action-card p {
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* ============================================
   RECENT ACTIVITY
   ============================================ */
.recent-activity {
    background: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.recent-activity h2 {
    margin-bottom: 1.5rem;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.activity-item {
    display: flex;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--neutral-200);
}

.activity-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.activity-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.activity-details {
    flex: 1;
}

.activity-details h4 {
    margin-bottom: 0.25rem;
}

.activity-details p {
    font-size: 0.875rem;
    margin-bottom: 0;
}

.activity-time {
    font-size: 0.875rem;
    color: var(--neutral-500);
    white-space: nowrap;
}

/* ============================================
   PRODUCTS LIST
   ============================================ */
.filter-section {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.search-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--neutral-300);
    border-radius: 0.5rem;
    font-size: 1rem;
    min-width: 200px;
}

.form-select {
    padding: 0.75rem 1rem;
    border: 1px solid var(--neutral-300);
    border-radius: 0.5rem;
    font-size: 1rem;
    background: var(--white);
}

.products-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-item {
    background: var(--white);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid var(--neutral-200);
    display: flex;
    gap: 1.5rem;
    align-items: center;
    transition: all 0.3s;
}

.product-item:hover {
    box-shadow: var(--shadow-md);
}

.product-image {
    flex-shrink: 0;
}

.image-placeholder {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--light-purple) 100%);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.product-info {
    flex: 1;
}

.product-info h3 {
    margin-bottom: 0.5rem;
}

.product-description {
    color: var(--neutral-500);
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.product-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.product-meta .badge {
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    background-color: var(--light-blue);
    color: var(--primary-blue);
}

.price {
    font-weight: 700;
    color: var(--primary-green);
}

.product-stats {
    display: flex;
    gap: 1.5rem;
    color: var(--neutral-500);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* ============================================
   FORM BUILDER
   ============================================ */
.builder-wrapper {
    display: grid;
    grid-template-columns: 250px 1fr 280px;
    gap: 1.5rem;
    min-height: calc(100vh - 300px);
}

.builder-sidebar {
    background: var(--white);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.builder-sidebar h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.elements-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.element-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--neutral-50);
    border: 1px solid var(--neutral-200);
    border-radius: 0.5rem;
    cursor: move;
    transition: all 0.3s;
}

.element-item:hover {
    background: var(--light-blue);
    border-color: var(--primary-blue);
}

.element-icon {
    font-size: 1.25rem;
}

.builder-canvas {
    background: var(--white);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    overflow-y: auto;
}

.form-preview {
    background: var(--white);
    padding: 2rem;
    border-radius: 0.5rem;
    border: 2px dashed var(--neutral-300);
}

.form-header {
    margin-bottom: 2rem;
}

.form-header h2 {
    margin-bottom: 0.5rem;
}

.radio-group,
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.radio-label,
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: var(--neutral-700);
}

.radio-label input[type="radio"],
.checkbox-label input[type="checkbox"] {
    width: 1.125rem;
    height: 1.125rem;
    cursor: pointer;
}

.builder-settings {
    background: var(--white);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    overflow-y: auto;
}

.builder-settings h3 {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.settings-group {
    margin-bottom: 1.5rem;
}

.settings-group h4 {
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

/* ============================================
   TABLES
   ============================================ */
.table-container {
    background: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    overflow-x: auto;
    margin-bottom: 2rem;
}

.responses-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.responses-table thead {
    background-color: var(--neutral-100);
    border-bottom: 2px solid var(--neutral-200);
}

.responses-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--neutral-700);
}

.responses-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--neutral-200);
}

.responses-table tbody tr:hover {
    background-color: var(--neutral-50);
}

.responses-table tbody tr.unread {
    background-color: #fef3c7;
}

/* ============================================
   BADGES
   ============================================ */
.badge {
    display: inline-block;
    padding: 0.5rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-new {
    background-color: var(--light-blue);
    color: var(--primary-blue);
}

.badge-read {
    background-color: var(--light-green);
    color: var(--primary-green);
}

.badge-starred {
    background-color: #fef3c7;
    color: #b8860b;
}

.badge-active {
    background-color: var(--light-green);
    color: var(--primary-green);
}

/* ============================================
   GATEWAYS
   ============================================ */
.gateways-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.gateway-card {
    background: var(--white);
    border: 2px solid var(--neutral-200);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s;
}

.gateway-card.connected {
    border-color: var(--primary-green);
    background: #f0fdf4;
}

.gateway-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.gateway-header h3 {
    margin-bottom: 0;
}

.connected-icon {
    font-size: 2rem;
    color: var(--primary-green);
}

.gateway-details {
    margin-bottom: 1rem;
}

.gateway-details p {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.gateway-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.available-gateways {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gateway-setup-card {
    background: var(--white);
    border: 2px dashed var(--neutral-300);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

.gateway-setup-card:hover {
    border-color: var(--primary-blue);
    background: var(--light-blue);
}

.gateway-setup-card h3 {
    margin-bottom: 0.5rem;
}

/* ============================================
   RESPONSE DETAILS
   ============================================ */
.detail-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--neutral-200);
}

.detail-section:last-child {
    border-bottom: none;
}

.detail-section h3 {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-blue);
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.detail-item {
    padding: 1rem;
    background: var(--neutral-50);
    border-radius: 0.5rem;
}

.detail-item.full {
    grid-column: 1 / -1;
}

.detail-item label {
    font-weight: 600;
    color: var(--neutral-500);
    font-size: 0.875rem;
    display: block;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.detail-item p {
    margin-bottom: 0;
    color: var(--neutral-900);
}

.detail-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.page-info {
    color: var(--neutral-500);
    font-size: 0.875rem;
    min-width: 150px;
    text-align: center;
}

/* ============================================
   TABS
   ============================================ */
.tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--neutral-200);
    flex-wrap: wrap;
}

.tab-btn {
    padding: 1rem;
    background: none;
    border: none;
    color: var(--neutral-500);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.tab-btn:hover {
    color: var(--primary-blue);
}

.tab-btn.active {
    color: var(--primary-blue);
    border-bottom-color: var(--primary-blue);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* ============================================
   MODAL
   ============================================ */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s;
}

.modal-content.large {
    max-width: 800px;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--neutral-500);
}

.close:hover {
    color: var(--neutral-900);
}

/* ============================================
   SIDEBAR LAYOUT TOGGLE
   ============================================ */
.sidebar-toggle-btn {
    display: block!important;
    background: transparent;
    border: none;
    color: var(--white);
    cursor: pointer;
    font-size: 1.25rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s;
    display: none;
}

#hamburgerMenuLanding {
    display: none;
}

.sidebar-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.toggle-text {
    opacity: 0.6;
    transition: opacity 0.3s;
}

.sidebar-toggle-btn.mode-left .toggle-text:first-of-type {
    opacity: 1;
    font-weight: bold;
}

.sidebar-toggle-btn.mode-right .toggle-text:last-of-type {
    opacity: 1;
    font-weight: bold;
}

.sidebar-toggle-btn.mode-ltr .toggle-text:first-of-type {
    opacity: 1;
    font-weight: bold;
}

.sidebar-toggle-btn.mode-rtl .toggle-text:last-of-type {
    opacity: 1;
    font-weight: bold;
}

/* Right-aligned sidebar layout */
.dashboard-container.sidebar-right {
    flex-direction: row-reverse;
    direction: rtl;
}

.dashboard-container.sidebar-right .sidebar {
    position: fixed;
    right: 0;
}

.dashboard-container.sidebar-right .dashboard-main {
    margin-left: 0;
    margin-right: 280px;
}

/* RTL/LTR Content Alignment */
.content-rtl {
    direction: rtl;
    text-align: right;
}

.content-ltr {
    direction: ltr;
    text-align: left;
}

.product-item.content-rtl,
.activity-item.content-rtl {
    flex-direction: row-reverse;
}

/* ============================================
   HAMBURGER MENU
   ============================================ */
.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
}

.hamburger-menu span {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 5px 0;
    transition: all 0.3s;
    border-radius: 2px;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ============================================
   MOBILE FOOTER BAR
   ============================================ */
.mobile-footerbar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    /* padding: 0rem 0; */
    z-index: 100;
}

.mobile-footerbar.active {
    display: flex;
    justify-content: space-around;
}

.footerbar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.75rem;
    cursor: pointer;
    transition: color 0.3s;
    border: none;
    background: none;
    flex: 1;
}

.footerbar-item:hover,
.footerbar-item.active {
    color: var(--white);
}

.footerbar-item span:first-child {
    font-size: 1.5rem;
}

/* Mobile menu panel */
.mobile-menu-panel {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99;
}

.mobile-menu-panel.active {
    display: block;
}

.mobile-menu-content {
    position: fixed;
    top: 0;
    left: 0;
    width: 75%;
    max-width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
    color: var(--white);
    padding: 1.5rem;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s;
    z-index: 100;
}

.mobile-menu-panel.active .mobile-menu-content {
    transform: translateX(0);
}

.mobile-menu-content .logo {
    margin-bottom: 2rem;
    color: var(--white);
}

.mobile-menu-content .sidebar-menu {
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-menu-content .menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s;
}

.mobile-menu-content .menu-item:hover,
.mobile-menu-content .menu-item.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.dashboard-container.sidebar-right .mobile-menu-panel {
    right: 0;
    left: auto;
}

.dashboard-container.sidebar-right .mobile-menu-content {
    left: auto;
    right: 0;
    transform: translateX(100%);
}

.dashboard-container.sidebar-right .mobile-menu-panel.active .mobile-menu-content {
    transform: translateX(0);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
    .builder-wrapper {
        grid-template-columns: 1fr;
    }

    .builder-sidebar,
    .builder-settings {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    .img_logo_n {
        display: none;
    }
    .nav-menu {
    gap: 14px!important;
}

    .sidebar-toggle-btn {
        /* display: inline-block; */
        order: 2;
    }

    #hamburgerMenuLanding {
        display: flex;
        order: 1;
    }

    .nav-container {
        gap: 1rem;
    }

    .sidebar {
        display: none;
        width: 100%;
        height: auto;
        position: relative;
    }

    .dashboard-main {
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 0;
    }

    .dashboard-container.sidebar-right .dashboard-main {
        margin-left: 0;
        margin-right: 0;
    }

    .hamburger-menu {
        display: flex;
    }

    .hero {
        flex-direction: column;
        padding: 4rem 2rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-image {
        display: none;
    }

    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-menu {
        gap: 1rem;
    }

    .stats-section {
        grid-template-columns: 1fr;
    }

    .auth-container {
        flex-direction: column;
    }

    .auth-card {
        max-width: 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .products-list .product-item {
        flex-direction: column;
        text-align: center;
    }

    .product-image {
        width: 100%;
    }

    .image-placeholder {
        width: 100%;
        height: 150px;
    }

    .table-container {
        font-size: 0.75rem;
    }

    .responses-table th,
    .responses-table td {
        padding: 0.75rem 0.5rem;
    }

    .available-gateways {
        grid-template-columns: 1fr;
    }
}

/* Mobile Footer Bar Breakpoint */
/* @media (min-width: 600px) {

    .hamburger-menu{
        display: none;
    }


} */
@media (max-width: 768px) {

    .mobile-footerbar {
        display: flex;
    }
    .img_logo {
  margin-top: -46px!important;
  margin-bottom: -75px!important;
}
}
@media (max-width: 600px) {
.img_logo {
  margin-top: -46px!important;
  margin-bottom: -75px!important;
}

.profile-menu-links {
    flex-direction: row!important;
}

#hamburgerMenuLanding {
    display: none;
}

    .dashboard-container {
        flex-direction: column;
    }
    .dashboard-container.sidebar-right {
        flex-direction: column;
    }

    .sidebar {
        display: none;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: auto;
        background: transparent;
        padding: 0;
        z-index: 50;
    }

    .dashboard-container.sidebar-right .sidebar {
        right: auto;
        left: 0;
    }

    .sidebar-header {
        display: none;
    }

    .sidebar-footer {
        display: none;
    }

    .sidebar-menu {
        display: none;
    }

    .mobile-footerbar {
        display: flex;
    }

    .dashboard-main {
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 80px;
        padding-bottom: 1rem;
    }

    .dashboard-container.sidebar-right .dashboard-main {
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 80px;
    }

    .dashboard-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
    }

    .header-left {
        flex: 1;
    }

    .header-left h1 {
        font-size: 1.25rem;
    }

    .header-left p {
        display: none;
    }

    .header-right {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .sidebar-toggle-btn {
        order: -1;
    }

    .stats-section {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-card {
        padding: 1rem;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .dashboard-content {
        padding: 1rem;
    }

    .product-item {
        flex-direction: column;
        padding: 1rem;
    }

    .image-placeholder {
        width: 100%;
        height: 120px;
    }

    body:not(.dashboard-container) .mobile-footerbar {
        display: flex;
    }

    body:not(.dashboard-container) main {
        margin-bottom: 80px;
    }

    body:not(.dashboard-container) footer {
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.875rem;
    }

    .nav-menu {
        gap: 0.5rem;
    }

    .nav-container {
        padding: 0rem 1rem;
    }

    .hamburger-menu {
        padding: 0.25rem;
    }

    .sidebar-toggle-btn {
        padding: 0.25rem 0.5rem;
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .pagination {
        flex-direction: column;
    }

    .page-info {
        min-width: 100%;
    }

    .sidebar {
        padding: 1rem;
    }

    .menu-item {
        padding: 0.75rem;
    }

    .dashboard-content {
        padding: 1rem;
    }

    .modal-content {
        width: 95%;
        padding: 1.5rem;
    }
}


        .hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f4f4f4;
    flex-direction: column;
    text-align: center;
}

.hero-content h1 {
    font-size: 2.5rem;
    color: #003366;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 20px;
}

.hero-buttons a {
    margin: 10px;
    padding: 12px 30px;
    font-size: 1.2rem;
    border-radius: 5px;
    text-decoration: none;
}

.hero-buttons .btn-primary {
    background-color: #003366;
    color: white;
}

.hero-buttons .btn-secondary {
    background-color: #ff6600;
    color: white;
}

.hero-image {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 30px;
    width: 100%;
    flex-wrap: wrap;
}

.hero-image-background {
    position: relative;
    width: 100%;
    max-width: 600px;
}

.hero-background-image {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.hero-features {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    width: 100%;
    flex-wrap: wrap;
    gap: 20px;
}

.feature {
    width: 30%;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.feature h3 {
    font-size: 1.5rem;
    color: #003366;
}

.feature p {
    font-size: 1rem;
    color: #555;
}

        /* حالت موبایل (صفحات کوچکتر از 768px) */
@media (min-width: 768px) {

 .hero {
    padding: 80px 20px;
}
}
@media (max-width: 768px) {
    .hero {
        display: flex;
        flex-direction: column; /* محتوای hero را به صورت عمودی تنظیم می‌کند */
        justify-content: center; /* وسط‌چین کردن محتوای hero */
        text-align: center; /* متن‌ها را وسط‌چین می‌کند */
    }

 .hero {
    padding: 20px 20px;
}
    .hero-image {
        display: none; /* مخفی کردن تصویر hero */
    }

    .hero-content {
        width: 100%; /* اطمینان از اینکه محتوا در صفحه به طور کامل نمایش داده می‌شود */
        padding: 20px; /* اضافه کردن فاصله برای راحتی مشاهده محتوا */
    }

    .hero-content h1 {
        font-size: 2rem; /* اندازه فونت عنوان در موبایل */
        margin-bottom: 20px;
    }

    .hero-content p {
        font-size: 1rem; /* اندازه فونت متن در موبایل */
        margin-bottom: 20px;
    }

    .hero-buttons a {
        margin: 10px;
        padding: 12px 30px;
        font-size: 1rem;
    }
}



/* =========================
   NAV MENU PROFILE DROPDOWN
========================= */

.navbar,
.nav-container,
.nav-menu,
.nav-menu li,
.profile-menu-wrapper {
    overflow: visible;
}

.nav-menu {
    display: flex;
    align-items: center;
    /* gap: 14px; */
}

.nav-menu li {
    list-style: none;
    position: relative;
    display: flex;
    align-items: center;
}

.profile-nav-item {
    display: flex;
    align-items: center;
    position: relative;
}

.profile-menu-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

/* دکمه پروفایل داخل نوار تیره */
.nav-menu .user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-radius: 16px;
    padding: 7px 10px;
    cursor: pointer;
    transition: all 0.25s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: none;
    min-height: 46px;
}

.nav-menu .user-profile:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.24);
}

.nav-menu .user-profile:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.16);
    outline-offset: 2px;
}

.nav-menu .user-profile img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}

.nav-menu .user-profile-meta {
    display: flex;
    flex-direction: column;
    text-align: right;
    line-height: 1.45;
}

.nav-menu .user-profile-meta strong {
    font-size: 13px;
    color: #fff;
    font-weight: 700;
    margin: 0;
}

.nav-menu .user-profile-meta small {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
}

.nav-menu .user-profile-arrow {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.82);
    transition: transform 0.25s ease;
    line-height: 1;
}

.profile-menu-wrapper.is-open .user-profile-arrow {
    transform: rotate(180deg);
}

/* کارت کشویی */
.profile-dropdown-card {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    min-width: 320px;
    max-width: 360px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 1200;
}

/* چون صفحه RTL است، بهتر است از سمت چپ یا راست یکی را فعال نگه دارید
   اگر خواستید کارت از سمت راست باز شود این 2 خط را جایگزین کنید:
   right: 0;
   left: auto;
*/

.profile-menu-wrapper.is-open .profile-dropdown-card {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.profile-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid #eef2f7;
}

.profile-card-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    flex-shrink: 0;
}

.profile-card-info h4 {
    margin: 0 0 4px;
    font-size: 15px;
    color: #0f172a;
    font-weight: 700;
}

.profile-card-info p {
    margin: 0;
    font-size: 12px;
    color: #64748b;
    word-break: break-word;
}

.profile-plan-box {
    margin-top: 14px;
    background: linear-gradient(135deg, #003366 0%, #0d4d8b 100%);
    color: #fff;
    border-radius: 16px;
    padding: 14px;
}

.plan-label {
    display: block;
    font-size: 12px;
    opacity: 0.82;
    margin-bottom: 4px;
}

.profile-plan-box strong {
    display: block;
    font-size: 16px;
    margin-bottom: 8px;
}

.plan-link {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.45);
}

.profile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 14px;
}

.profile-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #0f172a;
    background: #f8fafc;
    border: 1px solid transparent;
    padding: 12px 14px;
    border-radius: 14px;
    transition: all 0.2s ease;
}

.profile-menu-item:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #003366;
}

.profile-menu-icon {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eaf2ff;
    flex-shrink: 0;
}

.profile-card-footer {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #eef2f7;
}

.profile-logout-btn {
    display: block;
    text-align: center;
    text-decoration: none;
    background: #fee2e2;
    color: #b91c1c;
    padding: 12px;
    border-radius: 14px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.profile-logout-btn:hover {
    background: #fecaca;
}

/* =========================
   DESKTOP NAV ALIGNMENT
========================= */

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

.nav-menu > li:last-child {
    display: flex;
    align-items: center;
}

/* =========================
   MOBILE FRIENDLY
========================= */

@media (max-width: 992px) {
    .nav-menu .user-profile-meta {
        display: none;
    }

    .nav-menu .user-profile {
        padding: 6px 8px;
        min-height: 42px;
    }

    .nav-menu .user-profile img {
        width: 36px;
        height: 36px;
    }

    .profile-dropdown-card {
        min-width: 290px;
        max-width: 320px;
    }
}

@media (max-width: 768px) {
    .profile-dropdown-card {
        position: fixed;
        top: 72px;
        right: 12px;
        left: 12px;
        min-width: auto;
        max-width: none;
        width: auto;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
        border-radius: 18px;
    }

    .nav-menu .user-profile-arrow {
        display: none;
    }
}

@media (max-width: 480px) {
    .profile-dropdown-card {
        top: 66px;
        right: 10px;
        left: 10px;
        padding: 14px;
    }

    .profile-card-header {
        gap: 10px;
    }

    .profile-card-avatar {
        width: 46px;
        height: 46px;
    }

    .profile-menu-item {
        padding: 11px 12px;
    }

    .profile-plan-box {
        padding: 12px;
    }
}

.col-dark{
    color: #000000 !important;
}
.bg-wh{
    color: #dbeafe !important;
}
.img_logo{
    margin-top: -20px;
    margin-bottom: -39px;
    width: 200px;
}

.d-none{
    display: none!important;
}

.bg-dark{
    background-color: var(--primary-blue);
}

@media (max-width: 768px) {
.d-mobile{
    display: none!important;
}
}



.lp-primary-btn {
    font-family: 'IRANSans'!important;
}




        /* استایل پایه برای فرم */
        .form-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }

        .form-group {
            margin-bottom: 20px;
        }

        label {
            display: block;
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 8px;
        }

        /* input, select, textarea {
            width: 100%;
            padding: 10px;
            font-size: 14px;
            border: 1px solid #ccc;
            border-radius: 4px;
            box-sizing: border-box;
        } */

        .row {
            display: flex;
            flex-wrap: wrap;  /* این خاصیت باعث می‌شود که ستون‌ها در صورت نیاز به خط بعدی منتقل شوند */
            gap: 15px;
        }

        .col-12 {
            width: 100%;  /* ستون کامل */
        }

        .col-6 {
            width: 48%;  /* ستون نیمه */
        }

        .col-4 {
            width: 32.5%;  /* ستون یک سوم */
        }

        .col-3 {
            width: 24.5%;  /* ستون یک چهارم */
        }

        /* ریسپانسیو */
        @media (max-width: 768px) {
            .col-6, .col-4, .col-3 {
                width: 100%;  /* در موبایل تمام عرض */
            }
        }

        @media (min-width: 769px) and (max-width: 1024px) {
            .col-6 {
                width: 48%;
            }

            .col-4 {
                width: 32.5%;
            }

            .col-3 {
                width: 24.5%;
            }
        }

        @media (min-width: 1025px) {
            .col-6 {
                width: 48%;
            }

            .col-4 {
                width: 32.5%;
            }

            .col-3 {
                width: 24.5%;
            }
        }
