﻿/*
* demo.css
* File include item demo only specific css only
******************************************************************************/

.light-style .menu .app-brand.demo {
  height: 64px;
}

.dark-style .menu .app-brand.demo {
  height: 64px;
}

.app-brand-logo.demo {
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  display: -ms-flexbox;
  display: flex;
  width: 34px;
  height: 34px;
}

.app-brand-logo.demo svg {
  width: 355px;
  height: 244px;
}

.app-brand-text.demo {
  font-size: 1.01rem;
}

/* ! For .layout-navbar-fixed added fix padding top tpo .layout-page */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 64px !important;
}
.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
  padding-top: 72px !important;
}
/* Navbar page z-index issue solution */
.content-wrapper .navbar {
  z-index: auto;
}

/*
* Content
******************************************************************************/

.demo-blocks > * {
  display: block !important;
}

.demo-inline-spacing > * {
  margin: 1rem 0.375rem 0 0 !important;
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing > * {
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-lg > * {
  margin-top: 1.875rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-lg.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-xl > * {
  margin-top: 5rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-xl.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.rtl-only {
  display: none !important;
  text-align: left !important;
  direction: ltr !important;
}

[dir='rtl'] .rtl-only {
  display: block !important;
}

/* Dropdown buttons going out of small screens */
@media (max-width: 576px) {
  #dropdown-variation-demo .btn-group .text-truncate {
    width: 254px;
    position: relative;
  }
  #dropdown-variation-demo .btn-group .text-truncate::after {
    position: absolute;
    top: 45%;
    right: 0.65rem;
  }
}

/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: 1rem;
}
.layout-demo-placeholder img {
  width: 900px;
}
.layout-demo-info {
  text-align: center;
  margin-top: 1rem;
}









/* اگر تصویر وسط هست، کمی بزرگ‌تر و تمیز نمایش بده */
.auth-illustration {
    max-width: 78% !important;
    height: auto;
    filter: drop-shadow(0 8px 24px rgba(0,0,0,.08));
}




.authentication-wrapper.authentication-basic .authentication-inner {
    max-width: 85% !important;
}
/* ستون‌ها و ردیف عیناً هم‌قدِ ویوپورت */
.authentication-wrapper.authentication-cover {
    min-height: 100vh;
}

.authentication-inner.row {
    min-height: 100vh;
}

.auth-left .auth-illustration {
    max-width: 78%;
    height: auto;
    object-fit: contain;
    opacity: 1;
}
/* ستون چپ: بدون پدینگ عمودی اضافه و بدون اسکرول اضافی */
.auth-left {
    position: relative;
    min-height: 100vh;
    overflow: hidden; /* سایه‌ها و المان‌ها بیرون نزنه */
}

    .auth-left .authentication-inner {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

/* (از قبل) تنظیمات باکس شیشه‌ای ۴بخشی */
.features-overlay {
    position: absolute;
    z-index: 2;
    width: 90%;
    max-width: calc(100% - 3rem);
    background: rgba(255,255,255,0.6);
    border: 1px solid rgba(255,255,255,0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 12px 30px rgba(0,0,0,.12);
    border-radius: 18px;
    overflow: hidden;
    opacity: 0.9;
}

    .features-overlay .title {
        font-weight: 700;
        font-size: 1 rem;
        padding: .85rem 1rem .3rem;
        color: #2d2a40;
    }

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .50rem;
    padding: .6rem;
}

.feature-tile {
    display: flex;
    align-items: start;
    gap: .6rem;
    padding: 1rem;
    border-radius: 14px;
    background: rgba(255,255,255,.55);
    transition: .2s;
    border: 1px solid #e1e1e1;
}

    .feature-tile:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(0,0,0,.1);
        background: rgba(255,255,255,.8);
    }

.feature-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f0ecff;
}

.feature-tile h6 {
    margin: 0 0 .15rem;
    font-weight: 700;
    font-size: .95rem;
    color: #332f63;
}

.feature-tile p {
    margin: 0;
    font-size: .82rem;
    color: #5a5775;
    line-height: 1.55;
}

/* ریسپانسیو */
@media (max-width: 1400px) {
    .features-overlay {
        width: 90%;
    }
}

@media (max-width: 1200px) {
    .features-overlay {
        left: 1.25rem;
        right: 1.25rem;
        width: auto;
    }
}