/* AĞAC KARTI - YENİ DİZAYN */
.tree-card {
    position: relative;
    background: white;
    border: 5px solid transparent;
    background-clip: padding-box;
    overflow: hidden;
}

.tree-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 5px;
    background: linear-gradient(135deg, #4A7C4E 0%, #7FB84E 25%, #FFD700 75%, #FF8C42 100%);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}

.tree-card-body {
    position: relative;
    z-index: 2;
    min-height: 213px;
    padding: 2rem !important;
}

/* Arxa fon yarpaq - daha görünən */
.tree-bg-leaf {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 150px;
    height: 150px;
    opacity: 0.25;
    z-index: 0;
}

/* Yuxarı sol - kompakt düzən */
.tree-info-wrapper {
    position: relative;
    z-index: 2;
}

.tree-count {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0;
    color: #4A7C4E;
    letter-spacing: -0.02em;
    display: inline-block;
}

.tree-unit {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: #4A7C4E;
    display: inline-block;
    margin-left: 0.5rem;
}

.tree-subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 0;
    color: #4A7C4E;
    margin-top: 0.5rem;
}

/* Aşağı sağ - Logo */
.tree-logo-wrapper {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    z-index: 2;
}

.tree-logo {
    width: 80px;
    height: auto;
}


/* Responsive */
@media (max-width: 768px) {
    .tree-count {
        font-size: 4rem;
    }

    .tree-unit {
        font-size: 1.5rem;
    }

    .tree-subtitle {
        font-size: 1rem;
    }

    .tree-logo {
        width: 100px;
    }

    .tree-card-body {
        min-height: 200px;
        padding: 1.5rem !important;
    }

    .tree-logo-wrapper {
        bottom: 1.5rem;
        right: 1.5rem;
    }
}

@media (max-width: 576px) {
    .tree-count {
        font-size: 3rem;
    }

    .tree-unit {
        font-size: 1.2rem;
    }

    .tree-logo {
        width: 80px;
    }
}



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

.app-brand-logo.demo svg {
  width: 38px;
  height: 20px;
}

.app-brand-text.demo {
  font-size: 1.25rem;
  letter-spacing: 0.15px;
}

.authentication-wrapper .app-brand-text.demo {
  text-transform: capitalize;
}

/* ! For .layout-navbar-fixed added fix padding top to .layout-page */
/* Default navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 64px !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: 1.25rem !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;
}

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

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