@font-face {
    font-family: 'Inter';
    src: url('/assets/fonts/Inter-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('/assets/fonts/Inter-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('/assets/fonts/Inter-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Font Awesome 6 Brands';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("assets/webfonts/fa-brands-400.woff2") format("woff2");
}

@font-face {
    font-family: 'Font Awesome 6 Free';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url("assets/webfonts/fa-solid-900.woff2") format("woff2");
}

:root {
    --main-color: #2c6e5b;
    --second-color: #245a4a;
    --light-color: #f6f7f9;
    --border-color: #d9dade;
    --muted-color: #6b6d77;
    --border-radius: 5px;
    --form-height: 46px;
    --font-family: 'Inter', Arial, Helvetica, sans-serif;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    line-height: 1.3;
}

html {
    scroll-behavior: smooth;
}

body {
    width: 100%;
    color: black;
    font-size: 16px;
    line-height: 1.6;
    font-family: var(--font-family);
    position: relative;
    margin: 0;
    padding: 0;
}

#outer-wrap {
    overflow: hidden;
}

.full-width {
    width: 100vw;
    margin-left: -50vw;
    margin-right: -50vw;
    left: 50%;
    right: 50%;
    position: relative;
}

.container,
.has-sidebar #content-wrap {
    width: 1150px;
    margin: 0 auto;
    max-width: 90%;
    position: relative;
    z-index: 1;
}

.main-container {
    width: 90%;
    margin: 0 auto;
    max-width: 90%;
    position: relative;
    z-index: 1;
}

#primary {
    padding-bottom: 60px;
}

ul,
ol {
    margin: 0 0 20px 30px;
    padding: 0;
}

button {
    padding: 0;
    border: 0;
    cursor: pointer;
    font-family: var(--font-family);
    transition: .15s all;
}

*,
*:before,
*:after {
    box-sizing: border-box;
}

*:focus {
    outline: none;
}

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

p {
    margin: 0 0 15px;
}

a,
:visited {
    color: black;
    text-decoration: none;
    transition: .15s all;
}

iframe {
    border: 0;
    max-width: 100%;
}


/* Layout */
.right-sidebar #content-wrap,
.left-sidebar #content-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.right-sidebar #primary {
    width: calc(100% - 360px);
}

.left-sidebar #primary {
    width: calc(100% - 360px);
}

.has-sidebar #sidebar {
    width: 300px;
    padding-bottom: 60px;
}

.right-sidebar #sidebar {
    order: 2;
}

@media (max-width: 960px) {

    .has-sidebar #primary,
    .has-sidebar #sidebar {
        width: 100%;
        padding-right: 0;
        padding-left: 0;
    }

    #primary {
        order: 1;
    }

    #sidebar {
        order: 2;
    }
}


/* Header */
#site-header {
    position: relative;
    z-index: 5;
}

#site-header-inner {
    position: relative;
}

.master-header-area {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    width: 100%;
}

#site-logo {
    width: 80px;
}

#site-logo img {
    object-fit: contain;
}

#site-navigation {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

#site-navigation-wrap .master-main-menu {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    gap: 20px;
}

#site-navigation-wrap .master-main-menu>.menu-item {
    position: relative;
}

#site-navigation-wrap .master-main-menu>.menu-item>a {
    color: black;
    white-space: nowrap;
    height: 50px;
    line-height: 50px;
    display: block;
    position: relative;
    font-weight: 600;
}

#site-navigation-wrap .master-main-menu>.menu-item>a:hover,
#site-navigation-wrap .master-main-menu>.current-menu-item>a {
    color: var(--main-color);
}

#site-navigation-wrap .master-main-menu>.menu-item-has-children>a {
    padding-right: 15px;
}

#site-navigation-wrap .master-main-menu>.menu-item-has-children>a:after {
    content: "\e92e";
    font-family: Feather;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    font-size: 13px;
}

#site-navigation-wrap .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin: 0;
    list-style: none;
    padding: 10px 0;
    border-bottom: 0;
    z-index: 10;
    min-width: 160px;
    background: var(--main-color);
}

#site-navigation-wrap .master-main-menu>.menu-item>.sub-menu:before {
    content: '';
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid var(--main-color);
    position: absolute;
    bottom: 100%;
    left: 15px;
}

#site-navigation-wrap .menu-item-has-children:hover>.sub-menu {
    display: block;
}

#site-navigation-wrap .master-main-menu .sub-menu li {
    margin: 0;
    position: relative;
}

#site-navigation-wrap .sub-menu a {
    padding: 5px 15px;
    display: block;
    height: auto;
    white-space: nowrap;
    color: white;
}

#site-navigation-wrap .sub-menu a:hover {
    background: var(--main-color);
}

#site-navigation-wrap .sub-menu .sub-menu {
    position: absolute;
    left: 100%;
    top: 0;
    display: none;
    padding: 5px 0;
}

#site-navigation-wrap .sub-menu .menu-item-has-children>a:after {
    content: '\f105';
    font-family: "Font Awesome 6 Free";
    position: absolute;
    right: 10px;
    top: 50%;
    font-size: 12px;
    font-weight: 600;
    transform: translateY(-50%);
}

#site-navigation-wrap .sub-menu .menu-item-has-children>a {
    padding-right: 30px;
    position: relative;
}

@media (max-width: 960px) {
    #site-navigation-wrap {
        display: none;
    }
}

@media (min-width: 960px) {

    #mobile-sidebar-menu,
    .mobile-menu-area {
        display: none;
    }
}


/* Mobile menu */
#mobile-sidebar-menu {
    width: 25px;
    cursor: pointer;
}

.mobil-menu-line-icon span {
    width: 25px;
    height: 2px;
    margin-bottom: 5px;
    background: black;
    display: block;
}

.mobil-menu-line-icon span:last-child {
    margin-bottom: 0;
}

.mobile-menu-area {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    max-width: 90%;
    background: #000000;
    height: 100%;
    z-index: 1000;
    overflow: auto;
    transform: translate3d(100%, 0, 0);
    transition: .3s all;
}

.mobile-menu-area * {
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-close {
    color: white;
    font-size: 26px;
    display: flex;
    align-items: center;
    height: 80px;
    padding: 0 30px;
}

.mobile-menu-close-icon {
    cursor: pointer;
}

.mobile-menu-container {
    padding: 0 40px 80px;
    transform: translateX(60px);
    opacity: 0;
    transition: .6s all;
}

.animated-mobile-menu-container {
    transform: translateX(0);
    opacity: 1;
    transition-delay: .1s;
}

.active-mobile-menu {
    transform: none;
}

.mobile-menu-area ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mobile-menu-area a {
    font-size: 20px;
    position: relative;
    color: white;
    padding: 7px 0;
    display: inline-block;
    font-weight: 700;
}

.mobile-menu-area .menu-item-has-children>a:after {
    content: "\e92e";
    font-family: Feather;
    margin-left: 7px;
    font-size: 17px;
}

.mobile-menu-area .sub-menu {
    display: none;
    padding-left: 15px;
    padding-bottom: 10px;
    position: relative;
}

.mobile-menu-area .sub-menu a {
    font-weight: 400;
    font-size: 18px;
    padding: 5px 0;
    color: #dddddd;
}

.mobile-menu-area a:hover {
    opacity: .4;
}

.mobile-search-area {
    position: relative;
    padding: 0 30px;
    margin-bottom: 40px;
}

#mobile-search {
    position: relative;
}

.mobile-search-area input[type=text] {
    width: 100%;
    border: 0;
    height: 46px;
    font-size: 15px;
    padding: 0 20px;
    background: #191919;
    color: white;
    border-radius: 30px;
}

.mobile-search-area input::-webkit-input-placeholder {
    opacity: 1;
}

.mobile-search-area button {
    position: absolute;
    top: 0;
    right: 2px;
    width: 46px;
    height: 46px;
    font-size: 18px;
    border-radius: 50%;
    font-weight: 600;
}

.master-overlay {
    position: fixed;
    width: 100%;
    height: calc(100% + 80px);
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    display: none;
}



/* Menu search */
.master-menu-search-icon {
    cursor: pointer;
    font-size: 22px;
    margin-left: 20px;
}

.master-search-area {
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    padding: 60px 0 80px;
    visibility: hidden;
    transform: translateY(-300px);
    transition: .5s all;
}

.visible-search {
    visibility: visible;
    transform: translateY(0);
}

#master-search {
    width: 100%;
    position: relative;
    opacity: 0;
    transition: .5s all;
}

.visible-search #master-search {
    opacity: 1;
    transition-delay: .3s;
}

.master-search-input {
    position: relative;
}

.master-search-input input[type="text"] {
    border: 0;
    padding: 0;
    font-size: 40px;
    height: 80px;
    font-weight: 700;
}

.master-search-input input[type="text"]::placeholder {
    opacity: 1;
    color: black;
}

.master-search-line {
    height: 2px;
    width: 0;
    background: black;
    transition: .8s all;
}

.visible-search .master-search-line {
    width: 100%;
    transition-delay: .5s;
}

.master-search-close {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 22px;
    position: absolute;
    top: 16px;
    right: 0;
    cursor: pointer;
    z-index: 1;
}

.master-search-close i {
    position: relative;
    z-index: 2;
}

.master-search-close:before {
    content: '';
    width: 50px;
    height: 50px;
    background: #eee;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: -1;
    transform: translate(-50%, -50%);
    transition: .3s all;
}

.master-search-close:hover:before {
    transform: translate(-50%, -50%) scale(1.2);
}

.master-search-results:not(:empty) {
    padding-top: 40px;
}


/* Page header */
#page-header {
    background: var(--light-color);
    padding: 25px 0;
    margin-bottom: 60px;
}

.page-header-title {
    font-size: 28px;
    line-height: 1.3;
}

.breadcrumbs {
    margin-top: 5px;
}

.breadcrumbs__separator {
    margin: 0 7px;
}



/* Index */
.master-posts {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px -30px;
}

.master-post {
    width: 33.3%;
    padding: 0 15px 30px;
}

.master-post-thumbnail img {
    background: var(--light-color);
}

.master-post-thumbnail a {
    display: block;
    position: relative;
    overflow: hidden;
}

.master-post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0;
    transition: .3s all;
}

.master-post-thumbnail a:hover .master-post-overlay {
    opacity: .3;
}

.master-post-details {
    padding: 15px 0;
}

.master-post-title {
    margin-bottom: 15px;
}

.master-post-title a {
    font-size: 19px;
    line-height: 1.4;
    display: block;
}

.master-post-date {
    margin-bottom: 10px;
}

.master-post-excerpt {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #444;
    word-break: break-words;
}

.master-post-button a {
    display: table;
}

@media (max-width: 500px) {
    .master-post {
        width: 100%;
    }
}

@media (min-width: 501px) and (max-width: 999px) {
    .master-post {
        width: 50%;
    }
}


/* Footer */
#footer {
    background-color: #222;
    color: #828c8a;
}

.footer-blocks {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px -40px;
    padding: 60px 0;
}

.footer-block {
    width: 25%;
    padding: 0 15px 40px;
}

.footer-logo {
    width: 150px;
}

#footer a {
    color: #fff;
}

#footer a:hover {
    color: var(--main-color);
}

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

.footer-links ul li:not(:last-child) {
    margin-bottom: 5px;
}

.footer-links a {
    color: #ffffff;
}

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

.footer-heading {
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 17px;
    color: white;
}

.footer-desc {
    margin: 15px 0;
    line-height: 1.7;
}

.footer-contact-block:first-child {
    margin-bottom: 20px;
}

.footer-contact-block a {
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 0.2px;
    font-size: 17px;
}



/* Mailchimp */
.footer-form-block {
    position: relative;
}

.footer-form-block input {
    height: 40px;
    border: 1px solid #666;
    border-radius: var(--border-radius);
    font-size: 14px;
    padding-right: 100px;
    background: transparent;
}

.footer-form-block button {
    background: transparent;
    width: 100px;
    height: 40px;
    line-height: 40px;
    position: absolute;
    top: 0;
    right: 0;
    font-size: 14px;
    color: white;
}



/* Footer bottom */
#footer-bottom {
    padding: 25px 0;
    border-top: 1px solid #303030;
}

#footer-bottom,
#footer-bottom a {
    color: #767676;
}

.mfb-blocks {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 767px) {
    .mfb-block {
        width: 100%;
        text-align: center;
    }

    .mfb-second {
        margin-top: 15px;
    }
}



/* Scroll to top */
#site-scroll-top {
    position: fixed;
    right: 40px;
    bottom: 40px;
    z-index: 998;
    cursor: pointer;
    display: none;
    width: var(--form-height);
    height: var(--form-height);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.1);
    color: white;
    font-size: 26px;
    text-align: center;
}

#site-scroll-top:hover {
    background: var(--main-color);
}

@media (max-width: 767px) {
    #site-scroll-top {
        right: 20px;
        bottom: 70px;
    }
}


/* Social networks */
.social-networks {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.colorfull-social .social-networks a {
    color: white;
    width: var(--form-height);
    height: var(--form-height);
    line-height: var(--form-height);
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    font-size: 16px;
    transition: .3s all;
}

.colorfull-social .facebook-social a {
    background: #6f6fd2;
}

.colorfull-social .instagram-social a {
    background: #bb8181;
}

.colorfull-social .youtube-social a {
    background: #e00000;
}

.colorfull-social .whatsapp-social a {
    background: #00da00;
}

.colorfull-social .twitter-social a {
    background: #55adee;
}

.colorfull-social .telegram-social a {
    background: #0088cc;
}

.colorfull-social .linkedin-social a {
    background: #0077b5;
}

.colorfull-social .tiktok-social a {
    background: #333333;
}

.colorfull-social .social-networks a:hover {
    background: #555;
}

.social-network-item-wl {
    width: 100%;
    margin-bottom: 7px;
}

.social-network-item-wl a {
    display: flex;
    align-items: center;
}

.social-network-label {
    padding-left: 12px;
}



/* Search results */
.search-title a {
    display: block;
    padding: 20px 0;
    border-bottom: 1px solid #ccc;
    color: black;
    font-size: 20px;
}

.search-title:last-child a {
    border-bottom: 0;
}

.search-title a:hover {
    color: var(--main-color);
}

.live-search-button {
    margin-top: 30px;
}



/* Social share */
.master-social-share-area {
    margin-bottom: 40px;
}

.master-title {
    border-bottom: 1px solid var(--light-color);
    margin-bottom: 15px;
    padding-bottom: 5px;
}

.master-social-share-area ul {
    padding: 0;
    margin: 0 -5px;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

.master-social-share-area.share-with-label ul {
    justify-content: space-between;
}

.master-social-share-area:not(.share-with-label) {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.master-social-share-area:not(.share-with-label) .master-title {
    border-bottom: 0;
    margin: 0;
    padding: 0 15px 0 0;
}

.master-social-share-area.share-with-label li {
    width: 20%;
}

.master-social-share-area li {
    padding: 0 5px;
    text-align: center;
    transition: .15s all;
}

.master-social-share-area a {
    display: block;
}

.master-social-share-area:not(.simple-share-area) a {
    color: white;
}

.master-social-share-area.simple-share-area a {
    color: black;
}

.master-social-share-area.share-with-label a {
    padding: 5px 15px;
}

.master-social-share-area:not(.share-with-label) a {
    width: var(--form-height);
    height: var(--form-height);
    line-height: var(--form-height);
    text-align: center;
}

.share-with-label li .master-label {
    padding-left: 10px;
}

.simple-share-area.share-with-label a {
    border: 1px solid #eee;
}

.master-social-share-area:not(.simple-share-area) .twitter-share a {
    background: #00aced;
}

.master-social-share-area:not(.simple-share-area) .twitter-share a:hover {
    background: #0093cb;
}

.master-social-share-area:not(.simple-share-area) .facebook-share a {
    background: #3b5998;
}

.master-social-share-area:not(.simple-share-area) .facebook-share a:hover {
    background: #324b80;
}

.master-social-share-area:not(.simple-share-area) .telegram-share a {
    background: #0088cc;
}

.master-social-share-area:not(.simple-share-area) .telegram-share a:hover {
    background: #3e659c;
}

.master-social-share-area:not(.simple-share-area) .email-share a {
    background: #e40303;
}

.master-social-share-area:not(.simple-share-area) .email-share a:hover {
    background: #ca0303;
}

.master-social-share-area:not(.simple-share-area) .whatsapp-share a {
    background: #30d244;
}

.master-social-share-area:not(.simple-share-area) .whatsapp-share a:hover {
    background: #25b938;
}

@media (min-width: 960px) {
    .whatsapp-mobile-share {
        display: none;
    }
}

@media (max-width: 959px) {
    .whatsapp-desktop-share {
        display: none;
    }
}

@media (min-width: 960px) and (max-width: 1050px) {
    .master-label {
        display: none;
    }

    .master-social-share-area li .fa {
        margin-right: 0;
    }
}

@media (min-width: 270px) and (max-width: 767px) {
    .master-label {
        display: none;
    }

    .master-social-share-area li .fa {
        margin-right: 0;
    }
}

@media (max-width: 269px) {
    .master-social-share-area li {
        width: 100%;
        margin-bottom: 5px;
    }
}


/* Post navigation */
#post-navigation-wrap {
    background: var(--light-color);
    padding: 20px 0;
}

.post-navigation {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 -15px;
}

.next-previous-post {
    padding: 0 15px;
}

.no-prev-es-post {
    display: table;
    margin-left: auto;
}

.post-navigation a {
    color: black;
    position: relative;
    width: 50%;
}

.next-previous-heading {
    display: table;
    background-color: var(--main-color);
    color: white;
    padding: 3px 20px;
    margin-bottom: 10px;
    transition: .15s all;
}

.post-navigation a:hover .next-previous-heading {
    background: var(--second-color);
}

.next-post .next-previous-heading {
    margin-left: auto;
    margin-right: 0;
}

.next-post {
    text-align: right;
    margin-left: auto;
}

.prev-post-no {
    display: table;
    margin-right: 0;
    margin-left: auto;
}

.next-previous-post>div {
    position: relative;
}

.next-previous-post>div:before {
    position: absolute;
    top: 0;
    font-family: 'Font Awesome 6 Free';
    width: 25px;
    height: 25px;
    line-height: 25px;
    color: white;
    text-align: center;
    border-radius: 3px;
    background: var(--main-color);
    display: inline-block;
    font-size: 14px;
    font-weight: 900;
}

.prev-post>div {
    padding-left: 40px;
}

.prev-post>div:before {
    content: '\f104';
    margin-right: 15px;
    left: 0;
}

.next-post>div {
    padding-right: 40px;
}

.next-post>div:before {
    content: '\f105';
    margin-left: 15px;
    right: 0;
}

@media (max-width: 767px) {
    .post-navigation a {
        width: 100%;
    }
}



/* Wordpress default gallery css */
.ms-gallery.ms-gallery-type-false {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.ms-gallery-type-true {
    column-gap: 0;
    margin: 0 -10px;
}

.ms-gallery-type-false .ms-image-9 {
    width: calc(100% / 9);
}

.ms-gallery-type-false .ms-image-8 {
    width: calc(100% / 8);
}

.ms-gallery-type-false .ms-image-7 {
    width: calc(100% / 7);
}

.ms-gallery-type-false .ms-image-6 {
    width: calc(100% / 6);
}

.ms-gallery-type-false .ms-image-5 {
    width: 20%;
}

.ms-gallery-type-false .ms-image-4 {
    width: 25%;
}

.ms-gallery-type-false .ms-image-3 {
    width: 33.3%;
}

.ms-gallery-type-false .ms-image-2 {
    width: 50%;
}

.ms-gallery-type-false .ms-image-1 {
    width: 100%;
}

.ms-image {
    padding: 0 10px 20px;
    margin: 0;
}

.ms-image a {
    display: block;
}

.ms-image img {
    background: #eee;
}

figure.image {
    margin: 0 0 20px;
}

.image figcaption {
    font-style: italic;
    margin-top: 5px;
}

.ms-gallery-tools {
    display: none;
}

.ms-gallery-pagination .swiper-pagination-bullet {
    width: 7px;
    height: 7px;
    background: red;
    border-radius: 50%;
}

.ms-gallery-pagination.swiper-pagination {
    margin: 15px -5px 30px;
}

.ms-gallery-nav:before {
    font-family: Feather;
}

.ms-gallery-nav-prev:before {
    content: "\e910";
}

.ms-gallery-nav-next:before {
    content: "\e912";
}

@media (max-width: 340px) {
    .ms-gallery {
        margin: 0 -7.5px;
    }

    .ms-gallery-type-true {
        column-count: 1 !important;
    }

    .ms-image {
        width: 100% !important;
        padding: 0 7.5px 15px;
    }
}

@media (min-width: 341px) and (max-width: 767px) {
    .ms-gallery {
        margin: 0 -7.5px;
    }

    .ms-gallery-type-true {
        column-count: 2 !important;
    }

    .ms-image {
        width: 50% !important;
        padding: 0 7.5px 15px;
    }
}

@media (min-width: 767px) and (max-width: 959px) {
    .ms-gallery-type-true {
        column-count: 3 !important;
    }

    .ms-image {
        width: 33.3% !important;
    }
}



/* Sidebar */
.master-widget:not(:last-child) {
    margin-bottom: 40px;
}

.master-sidebar-title {
    font-weight: 600;
    font-size: 24px;
    margin-bottom: 15px;
}



/* Sidebar types */
.sidebar-type-item {
    margin-bottom: 10px;
}

.sidebar-type-item a {
    color: black;
    height: 80px;
    display: flex;
    align-items: center;
    background: #eee;
    border-radius: var(--border-radius);
    padding: 0 50px 0 20px;
    line-height: 1.4;
    font-weight: 600;
    position: relative;
    transition: .3s all;
}

.sidebar-type-item a:hover {
    transform: translateX(5px);
}

.active-type-item a {
    background: var(--main-color);
    color: white;
    pointer-events: none;
}

.sidebar-type-icon {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}


/* Sidebar posts */
.sidebar-post-item {
    margin-bottom: 25px;
}

.sidebar-post-item a {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    color: black;
    line-height: 1.4;
}

.sidebar-post-item a:hover {
    color: var(--main-color);
}

.sidebar-post-thumbnail {
    width: 100px;
}

.sidebar-post-thumbnail img {
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.sidebar-post-details {
    width: calc(100% - 120px);
}

.sidebar-post-title {
    font-weight: 600;
    margin-bottom: 10px;
}



/* Sidebar archives */
.widget-archives {
    margin-top: 7px;
}

.widget-archives a {
    display: block;
    border-bottom: 1px solid var(--light-color);
    padding-bottom: 7px;
    padding-top: 7px;
    color: black;
}

.widget-archives a:hover {
    color: var(--main-color);
}

.widget-archives a:before {
    content: '\f114';
    font-family: FontAwesome;
    margin-right: 10px;
    color: black;
}

.sidebar-search {
    position: relative;
}

.sidebar-search input {
    width: 100%;
    height: 45px;
    border: 1px solid #ddd;
    color: black;
    padding: 0 15px;
    font-size: 15px;
}

.sidebar-search button {
    position: absolute;
    top: 0;
    right: 0;
    width: var(--form-height);
    height: var(--form-height);
    line-height: var(--form-height);
    background: var(--main-color);
    color: white;
}


/* Single post */
.single-post-title {
    margin-bottom: 30px;
}

.single-post-title h1 {
    font-size: 32px;
}

.single-post-thumbnail {
    margin-bottom: 30px;
}

.single-post-thumbnail img {
    background: var(--light-color);
    width: auto;
    max-height: 350px;
}

.single-post-meta {
    margin-top: 15px;
}

.single-post-date,
.single-post-meta a {
    color: #666;
}

.single-post-date,
.single-post-category,
.single-post-author {
    display: inline-block;
    vertical-align: middle;
    padding-right: 30px;
}

.single-post-date:before {
    content: '\f073';
    font-family: 'FontAwesome';
    margin-right: 10px;
    color: black;
}

.single-post-category:before {
    content: '\f044';
    font-family: 'FontAwesome';
    margin-right: 5px;
}

.single-post-author:before {
    content: '\f2be';
    font-family: 'FontAwesome';
    margin-right: 5px;
}

.single-post-container-main {
    font-size: 16px;
    line-height: 1.8;
    text-align: justify;
}

.single-content {
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 40px;
}

.single-content img {
    width: auto;
    max-height: 350px;
}

.single-content .ms-gallery img {
    width: 100% !important;
    max-height: inherit !important;
    height: 100% !important;
}

.aligncenter {
    margin: 0 auto;
}

.single-content h2,
.single-content h3,
.single-content h4,
.single-content h5,
.single-content h6 {
    text-align: left;
    margin-bottom: 10px;
}

.single-content ul,
.single-content ol {
    text-align: left;
}

.master-embed {
    position: relative;
    padding-top: 56%;
}

.master-embed iframe {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.alignleft {
    float: left;
}

.alignright {
    float: right;
}

.master-table {
    overflow-x: auto;
    max-width: 100%;
}



/* Designed List */
.designed-list ul {
    list-style: none;
    margin-left: 20px;
}

.designed-list ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    line-height: 1.3;
}

.designed-list ul li:before {
    content: '\f138';
    font-family: 'Font Awesome 6 Free';
    position: absolute;
    top: 2px;
    left: 0;
    font-weight: 900;
    color: var(--main-color);
    font-size: 13px;
}



/* Single Post Author */
.single-author-area {
    margin-top: 40px;
}

.single-author {
    display: table;
    width: 100%;
}

.single-author-block {
    display: table-cell;
    vertical-align: top;
}

.single-author-first {
    width: 150px;
}

.single-author-second {
    width: calc(100% - 150px);
    padding-left: 25px;
    padding-top: 5px;
}

.single-author img {
    height: 150px;
    width: 150px;
    -o-object-fit: cover;
    object-fit: cover;
}

.single-author-name {
    font-size: 20px;
}

.single-author-profession {
    font-size: 17px;
    margin-bottom: 10px;
}

.single-author-description {
    margin-bottom: 10px;
}

.no-image-author:before {
    content: '\f2be';
    font-family: FontAwesome;
    width: 150px;
    height: 150px;
    background: var(--light-color);
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 76px;
    color: #999;
}

@media (max-width: 550px) {
    .single-author-block {
        display: block;
    }

    .single-author-second {
        width: 100%;
        padding-left: 0px;
        padding-top: 15px;
    }
}






/* FAQ */
.master-accordion-title {
    color: black;
    font-size: 16px;
    font-weight: 600;
    padding: 15px 15px 15px 30px;
    cursor: pointer;
    border-bottom: 1px solid var(--light-color);
    position: relative;
    line-height: 1.4;
    user-select: none;
}

.master-accordion-title:before {
    content: "\f067";
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 15px;
    font-size: 14px;
    position: absolute;
    left: 0;
    top: 17px;
    color: var(--main-color);
}

.master-accordion-title.active:before {
    content: "\f068";
}

.master-accordion-content {
    color: black;
    margin-top: 15px;
    display: none;
}


/* Default input */
/* Default input */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
select {
    box-shadow: none;
    appearance: none;
    font-family: var(--font-family);
    width: 100%;
    border: 1px solid var(--border-color);
    height: var(--form-height);
    line-height: var(--form-height);
    padding: 0 15px;
    color: black;
    font-size: var(--font-size);
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 0.0625rem 0.125rem rgba(2, 6, 23, 0.05);
}

textarea {
    box-shadow: none;
    appearance: none;
    font-family: var(--font-family);
    border: 1px solid var(--border-color);
    width: 100%;
    padding: 10px 15px;
    color: black;
    font-size: var(--font-size);
    resize: vertical;
    min-height: 90px;
    border-radius: var(--border-radius);
    box-shadow: 0 0.0625rem 0.125rem rgba(2, 6, 23, 0.05);
}

input[type=radio] {
    box-shadow: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border: 1px solid #c6c6c8;
    display: inline-block;
    vertical-align: middle;
    margin: 0;
    position: absolute;
    cursor: pointer;
    background: white;
    top: 1.5px;
    left: 0;
    border-radius: 50%;
}

input[type=radio]:checked {
    border-color: var(--main-color);
}

input[type=radio]:checked:before {
    content: '';
    width: 9px;
    height: 9px;
    display: block;
    border-radius: 50%;
    background: var(--main-color);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

input[type=radio]+label {
    user-select: none;
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    padding-left: 30px;
}

input[type=checkbox] {
    box-shadow: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border: 1px solid #c6c6c8;
    display: inline-block;
    vertical-align: middle;
    position: absolute;
    background: white;
    top: 2px;
    left: 0;
    margin: 0;
    cursor: pointer;
    border-radius: var(--border-radius);
}

input[type=checkbox]:checked {
    background: var(--main-color);
    border-color: var(--main-color);
    color: white;
}

input[type=checkbox]:checked:before {
    content: "\e92b";
    font-family: 'Feather';
    font-weight: 800;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 11px;
}

input[type=checkbox]+label {
    user-select: none;
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    padding-left: 30px;
    margin-bottom: 0;
    line-height: 1.4;
}

input[type=file]::file-selector-button {
    background: var(--light-color);
    border: 1px solid var(--border-color);
    padding: 5px 15px;
}

sup,
sub {
    font-size: 12px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

select {
    -webkit-appearance: none;
    background: white;
    width: 100%;
    background-image: url(/uploads/extra/chevron-down.svg);
    background-repeat: no-repeat;
    background-position-x: calc(100% - 5px);
    background-position-y: 15px;
    background-size: 18px;
    cursor: pointer;
    padding-right: 30px;
}


/* Form */
.grecaptcha-badge {
    display: none;
}

.form-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 -15px;
}

.form-group .form-element {
    padding: 0 15px 15px;
}

.form-100 {
    width: 100%;
}

.form-85 {
    width: 85%;
}

.form-50 {
    width: 50%;
}

.form-33 {
    width: 33.3%;
}

.form-25 {
    width: 25%;
}

.form-15 {
    width: 15%;
}

.form-element {
    padding-bottom: 15px;
    position: relative;
}

.form-element label {
    display: block;
    width: 100%;
    margin-bottom: 3px;
}

.form-simple-file label {
    border: 1px solid #ddd;
    padding: 10px 15px;
    cursor: pointer;
}

.fsf-blocks {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.fsf-button {
    border: 1px solid #ddd;
    background: #eee;
    padding: 5px 15px;
    line-height: 1.3;
    margin-right: 10px;
}

.faf-items {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -5px;
}

.faf-items label {
    width: auto;
}

.faf-item {
    padding: 0 5px;
}

.faf-preview img {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.faf-item i {
    width: 80px;
    height: 80px;
    border: 2px dashed #ddd;
    line-height: 80px;
    text-align: center;
    font-size: 22px;
    background: #f5f5f5;
    cursor: pointer;
}

.form-result:not(:empty) {
    margin-top: 20px;
}

#reset-form .form-result:not(:empty) {
    margin-bottom: 20px;
}

.form-simple-file input,
.form-advanced-file input {
    display: none;
}

.form-choices {
    display: flex;
    flex-wrap: wrap;
}

.form-choices .form-choice {
    padding-right: 30px;
}

.form-choice {
    position: relative;
}

.alert {
    padding: 10px 15px 10px 55px;
    text-align: left;
    min-height: 42px;
    position: relative;
    border-radius: var(--border-radius);
}

.alert-danger {
    color: #8d423b;
    background-color: #ffe2df;
    border-color: #ffd7d3;
}

.alert-success {
    color: #1d6944;
    background-color: #d4ffd3;
    border-color: #c3ecd8;
}

.alert-info {
    color: #281b80;
    background-color: #e0e0ff;
    border-color: #e0e0ff;
}

.alert:before {
    font-family: 'Font Awesome 6 Free';
    position: absolute;
    top: 50%;
    left: 5px;
    height: 35px;
    width: 35px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
    border-radius: var(--border-radius);
    transform: translateY(-50%);
}

.alert-danger:before {
    content: "\f071";
    background: #da6f64;
}

.alert-success:before {
    content: '\f058';
    background: #48c346;
}

.alert-info:before {
    content: "\f05a";
    background: #464fc3;
}

@media (max-width: 650px) {

    .form-50,
    .form-33,
    .form-25 {
        width: 100%;
    }
}


/* Progress bar */
.progress {
    background: #eee;
    border-radius: 5px;
    display: none;
    position: relative;
    margin-bottom: 20px;
    margin-top: 30px;
}

.progress-bar {
    height: 5px;
    line-height: 5px;
    background: red;
    font-weight: 600;
    color: white;
    padding: 0 15px;
    width: 0%;
    position: relative;
    max-width: 100%;
}

.progress-bar-text-area {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    right: 0;
    top: -25px;
    font-weight: 600;
    width: 100%;
}


/* ACF Map */
.acf-map-area {
    position: relative;
}

.acf-map {
    height: 450px;
    background: #eee;
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.acf-iframe-map iframe {
    width: 100% !important;
    height: 100% !important;
    position: relative;
    z-index: 1;
}

.map-loading {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: absolute;
    top: 0;
    left: 0;
    background: #ddd;
}

.map-loading-text {
    padding-top: 40px;
    font-weight: 600;
    font-size: 18px;
}



/* Comments */
.default-comment-form-area {
    display: none;
}

.comment-reply-area {
    margin-bottom: 20px;
}

#comments {
    padding-bottom: 20px;
}

.comment-count-heading {
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
    margin-bottom: 20px;
    margin-top: 30px;
}

.comment-list {
    list-style: none;
    margin: 0;
}

.comment {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 15px;
}

.comment-author,
.comment-block {
    display: table-cell;
    vertical-align: top;
}

.comment-author {
    width: 70px;
    padding-right: 10px;
}

.comment-author .fa-solid {
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    border: 1px solid #ddd;
    background: #f5f5f5;
    font-size: 30px;
    color: #999;
}

.comment-author img {
    border: 1px solid #ddd;
    padding: 3px;
    width: 60px;
    height: 60px;
    -o-object-fit: cover;
    object-fit: cover;
}

.comment-block {
    border: 1px solid #ddd;
    padding: 10px 15px;
    width: calc(100% - 70px);
}

.comment-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    font-size: 14px;
}

.date.float-right {
    color: #a7a7a7;
}

.comment-rating {
    display: inline-flex;
    color: orange;
    font-size: 13px;
}

.comment-text {
    margin-top: 5px;
}

.comment-text p {
    margin-bottom: 5px;
}

.comment-reply {
    text-decoration: underline;
    color: var(--main-color);
    cursor: pointer;
    display: inline-block;
}

.comments .children {
    margin: 0 0 0 20px;
    list-style: none;
}

.comments .children>.comment {
    margin-bottom: 0;
}

.byuser .comment-block {
    background: #f5f5f5;
}

.comment-reply-heading-area {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 10px;
    font-weight: 600;
}

.comment-reply-heading,
.comment-reply-cancel {
    padding: 5px 0;
}

.comment-reply-cancel {
    text-decoration: underline;
    color: red;
    cursor: pointer;
    font-size: 14px;
}

.logged-user-comment-author {
    margin-bottom: 10px;
}

.comment-name {
    padding-right: 5px;
}

.default-comment-form {
    width: 100%;
    margin-top: 15px;
}

@-webkit-keyframes wd-rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes wd-rotate {
    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 600px) {
    .comment-author {
        width: 40px;
        padding-right: 5px;
    }

    .comment-author img {
        width: 35px;
        height: 35px;
    }
}


/* Rating */
.comment-ratings {
    display: flex;
    align-items: center;
    margin: 0 -2px;
}

.comment-ratings input {
    display: none;
}

.comment-rating label {
    padding: 0 2px !important;
}

.comment-rating label:before {
    content: '\f005';
    font-family: 'Font Awesome 6 Free';
    color: var(--light-color);
    font-size: 20px;
}

.active-comment-rating label:before {
    color: orange;
}


/* Gallery */
.master-gallery {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px -20px;
}

.master-image {
    width: 25%;
    padding: 0 10px 20px;
}

.master-image a {
    display: block;
    overflow: hidden;
    position: relative;
}

.master-image img {
    background: var(--light-color);
}

.master-image-overlay {
    background: black;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: .3s all;
}

.master-image a:hover .master-image-overlay {
    opacity: .3;
}

@media (max-width: 350px) {
    .master-image {
        width: 100%;
    }
}

@media (min-width: 351px) and (max-width: 767px) {
    .master-gallery {
        margin: 0 -5px;
    }

    .master-image {
        width: 50%;
        padding: 0 5px 10px;
    }
}

@media (min-width: 768px) and (max-width: 999px) {
    .master-image {
        width: 33.3%;
    }
}



/* Table */
table {
    width: 100%;
    line-height: 1.5;
    border-collapse: collapse;
    margin: 20px 0;
    text-align: left;
}

th,
td {
    border: 1px solid #ddd;
    padding: 5px 15px;
}

tr:nth-child(odd) {
    background: #f5f5f5;
}



/* Toolbar */
.toolbar-area {
    position: fixed;
    bottom: 15px;
    left: 15px;
    z-index: 1000000;
}

.toolbar-area a {
    position: absolute;
    color: white;
    border-radius: 50%;
    left: 0;
    width: 45px;
    height: 45px;
    text-align: center;
    line-height: 45px;
    font-size: 20px;
    display: block;
}

.toolbar-phone {
    background: #6565ff;
    bottom: 0;
}

.toolbar-whatsapp {
    background: #45c71b;
    bottom: 55px;
}

@media (min-width: 768px) {
    .toolbar-area {
        display: none;
    }
}


/* Loading */
.loading {
    color: transparent !important;
    position: relative;
    pointer-events: none;
}

.loading:after {
    content: "";
    display: inline-block;
    vertical-align: middle;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    opacity: 0;
    transition: opacity 0s ease;
    opacity: 1;
    animation: loading 450ms infinite linear;
    transition: opacity .25s ease;
}

.loading:before {
    visibility: hidden;
}

.small-loading-icon:after {
    width: 15px;
    height: 15px;
    margin-left: -7.5px;
    margin-top: -7.5px;
}

.big-loading-icon:after {
    width: 45px;
    height: 45px;
    margin-left: -22.5px;
    margin-top: -22.5px;
}

.light-loading-icon:after {
    border: 1px solid rgba(255, 255, 255, .3);
    border-left-color: #fff;
}

.dark-loading-icon:after {
    border: 1px solid rgba(0, 0, 0, .3);
    border-left-color: #000;
}

@-webkit-keyframes loading {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes loading {
    100% {
        transform: rotate(360deg);
    }
}


/* QR code */
.qr-code img {
    width: 150px;
}



/* Swiper js */
.master-slider {
    height: 0;
    overflow: hidden;
}

.master-slider.swiper-initialized {
    height: auto;
}



/* Hide admin bar */
.active-admin-bar {
    margin-top: 35px;
}

.admin-bar {
    display: none;
}

.active-admin-bar .admin-bar {
    display: flex;
}

.hide-admin-bar {
    position: fixed;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    display: block;
    cursor: pointer;
    z-index: 100000;
}

.active-admin-bar .hide-admin-bar {
    top: 35px;
}


/* Pagination */
.pagination {
    margin: 30px 0 0;
    list-style: none;
}

.page-item {
    display: inline-block;
}

.page-item a {
    display: block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: var(--light-color);
    margin-right: 5px;
    color: black;
    padding: 0;
}

.page-item.active a,
.page-item a:hover {
    background: var(--main-color);
    color: white;
}


/* Fancybox */
body.compensate-for-scrollbar {
    overflow: unset !important;
}

.fancybox-active .admin-bar {
    z-index: 1;
}


/* Mobile sticky phone */
.mobile-sticky-area {
    position: fixed;
    bottom: 15px;
    left: 15px;
    z-index: 1000;
}

.mobile-sticky-elements a {
    width: 45px;
    height: 45px;
    line-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    margin-top: 7px;
    font-size: 18px;
}

.mobile-sticky-phone {
    background: var(--main-color);
}

.mobile-sticky-whatsapp {
    background: #25ce25;
}

@media (min-width: 801px) {
    .mobile-sticky-area {
        display: none;
    }
}



/* MailChimp */
#mailchimp {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -5px;
}

#mailchimp>div {
    padding: 0 5px;
}

.mailchimp-element input {
    border: 1px solid #ddd;
    height: 40px;
    padding: 0 10px;
}

.mailchimp-button button {
    background: red;
    height: 40px;
    padding: 0 30px;
    font-size: 17px;
    color: white;
    text-transform: uppercase;
}

.mailchimp-result:not(:empty) {
    display: table;
    margin: 10px auto 0;
}

.mailchimp-success {
    position: relative;
    padding-left: 35px;
    font-weight: 600;
}

.mailchimp-success:before {
    content: '\f058';
    font-family: FontAwesome;
    position: absolute;
    top: 0;
    left: 0;
    color: var(--main-color);
}



/* Notify template */
.notify-block-area {
    text-align: center;
    margin-bottom: 30px;
}

.notify-block-icon-area {
    width: 150px;
    height: 150px;
    background: #00a900;
    display: flex;
    align-items: center;
    margin: 0 auto 30px;
    justify-content: center;
    border-radius: 30px;
    color: white;
    font-size: 100px;
}

.notify-fe-fe-check {
    background: #00a900;
}

.notify-fe-fe-x {
    background: #ff0000;
}

.notify-block-area h3 {
    font-size: 22px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.notify-block-description {
    color: #666;
    margin: 0 auto 25px;
    width: 600px;
    max-width: 100%;
}



/* Callout */
.callout-form-element {
    margin-bottom: 10px;
}

.callout-form-element input {
    width: 100%;
    border: 1px solid #ddd;
    height: var(--form-height);
    font-size: 15px;
    padding: 0 15px;
}

.success-message {
    text-align: center;
    color: #ccc;
    display: none;
}

.success-message:before {
    content: '\f058';
    font-family: "Font Awesome 6 Free";
    display: table;
    margin: 0 auto 15px;
    font-size: 24px;
    color: yellow;
}


/* Callout modal */
#callout-modal-form {
    width: 500px;
    display: none;
}


/* Master buttons */
.button {
    height: var(--form-height);
    cursor: pointer;
    padding: 0 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    border-radius: 30px;
    line-height: 1.2;
    user-select: none;
    transition: .15s all;
}

.simple-button {
    height: 35px;
    cursor: pointer;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    border-radius: 30px;
    line-height: 1.2;
    user-select: none;
    transition: .15s all;
}

.primary-button {
    background: var(--main-color);
    color: white;
    border: 1px solid var(--main-color);
}

.primary-button:hover {
    background: var(--second-color);
    color: white;
    border-color: var(--second-color);
}

.outline-button {
    background: #fff;
    color: black;
    border: 1px solid var(--main-color);
}

.outline-button:hover {
    background: var(--main-color);
    color: white;
    border-color: var(--main-color);
}

.colored-button {
    background: var(--second-color);
    color: white;
    border: 1px solid var(--second-color);
}

.colored-button:hover {
    background: #f75848;
    border-color: #f75848;
}

.danger-button {
    background: #d64545;
    color: white;
    border: 1px solid #d64545;
}

.danger-button:hover {
    background: #b93636;
    border-color: #b93636;
}

.danger-outline-button {
    background: transparent;
    color: #d64545;
    border: 1px solid #d64545;
}

.danger-outline-button:hover {
    background: #d64545;
    color: white;
}

.wide-button {
    width: 100%;
}

.icon-right-button:after {
    content: "\e912";
    font-family: Feather;
    margin-left: 10px;
    margin-right: -10px;
    font-size: 14px;
}

.icon-left-button:before {
    content: "\e912";
    font-family: Feather;
    margin-left: -10px;
    margin-right: 10px;
    font-size: 14px;
}

.icon-right-button.loading:after {
    margin-left: -7.5px;
    margin-right: 0;
}



/* Animations */
.animate {
    transition: 1.2s all;
}

.scale-animation {
    transform: scale(0.5);
    opacity: 0;
}

.fade-animation {
    opacity: 0;
}

.left-to-right-animation {
    transform: translateX(-100px);
    opacity: 0;
}

.right-to-left-animation {
    transform: translateX(100px);
    opacity: 0;
}

.top-to-bottom-animation {
    transform: translateY(-100px);
    opacity: 0;
}

.bottom-to-top-animation {
    transform: translateY(100px);
    opacity: 0;
}

.animated {
    opacity: 1;
    transform: none;
}


/* Fixed header */
.has-fixed-header {
    padding-top: 55px;
}

.has-fixed-header #site-header {
    position: fixed;
    background: #fff;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    animation-name: sticky;
    animation-duration: .5s;
    border-top: 0;
    box-shadow: 0 15px 15px rgb(100 100 100 / 5%);
}

.has-fixed-header.active-admin-bar #site-header {
    margin-top: 35px;
}

.has-fixed-header .header-aside {
    position: absolute;
    right: 0;
}

@keyframes sticky {
    from {
        transform: translateY(-80px);
    }

    to {
        transform: translateY(0);
    }
}


/* Topbar */
#topbar-wrap {
    border-bottom: 1px solid #ddd;
}

.topbar-blocks {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin: 0 -15px;
}

.topbar-block {
    padding: 5px 15px;
}

.topbar-elements {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin: 0 -15px;
}

.topbar-element {
    padding: 5px 15px;
}



/* Master heading */
.heading-blocks {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0 -15px -30px;
}

.heading-block {
    padding: 0 15px 30px;
}

.hb-1 {
    width: 66.6%;
}

.hb-2 {
    width: 33.3%;
}

.heading-area {
    margin-bottom: 40px;
}

.heading-blocks .heading-area {
    margin-bottom: 0;
}

.heading {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.2;
}

.description {
    margin-top: 5px;
    width: 600px;
    max-width: 100%;
}

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

.center-heading .description {
    margin-left: auto;
    margin-right: auto;
}

.light-heading .heading,
.light-heading .sub-heading {
    color: white;
}

@media (max-width: 767px) {
    .heading-block {
        width: 100%;
    }
}



/* Whatsapp */
.whatsapp-toolbar-area {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-icon-box {
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-toolbar-text {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 100%;
    padding-right: 20px;
    display: none;
}

.whatsapp-toolbar-text span {
    display: block;
    background: white;
    color: black;
    padding: 8px 15px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgb(92 92 92 / 12%);
    line-height: 1.2;
    text-align: center;
    min-width: 170px;
    font-weight: 500;
    position: relative;
    z-index: -1;
}

.whatsapp-toolbar-text span:after {
    content: '';
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid #21ad21;
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    z-index: 1;
}

.whatsapp-toolbar-icon {
    width: 70px;
    height: 70px;
    text-align: center;
    line-height: 70px;
    background: #21ad21;
    border-radius: 50%;
    font-size: 32px;
}



/* Language switcher */
.language-list-switcher ul {
    margin: 0 -7px;
    list-style: none;
    display: flex;
}

.language-list-switcher li {
    padding: 0 7px;
}

.language-list-switcher .language-item a {
    display: flex;
    align-items: center;
}

.language-list-switcher .language-item img {
    width: 22px;
    height: 22px;
}

.language-list-switcher .language-label {
    padding-left: 7px;
    font-weight: 600;
    color: black;
}



.language-dropdown-switcher ul {
    margin: 0 10px 0 0;
    list-style: none;
    position: relative;
    cursor: pointer;
    font-size: 16px;
}

.language-dropdown-switcher .ls-sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: -8px;
    width: 100%;
    box-shadow: 0 0 10px rgb(0 0 0 / 8%);
    border-radius: 8px;
    min-width: 40px;
    background: white;
    padding: 8px 0;
}

.language-dropdown-switcher img {
    width: 24px;
    height: 24px;
}

.language-dropdown-switcher .language-label {
    padding-left: 10px;
    font-weight: 600;
    transition: .3s all;
}

.language-dropdown-switcher:hover .ls-sub-menu {
    display: block;
}

.language-dropdown-switcher .ls-current-lang {
    display: flex;
    align-items: center;
    height: 38px;
    border-radius: 8px;
}

.language-dropdown-switcher .ls-current-lang:after {
    content: "\e92e";
    font-family: Feather;
    font-size: 14px;
    margin-left: 5px;
}

.language-dropdown-switcher .language-item {
    display: flex;
    justify-content: center;
}

.language-dropdown-switcher .language-item a {
    color: black;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.language-dropdown-switcher .language-item a:hover .language-label {
    opacity: .5;
}

.language-dropdown-switcher .language-item:not(:last-child) {
    margin-bottom: 5px;
}

.language-dropdown-switcher .language-switcher.language-dropdown-switcher {
    margin-left: 15px;
}



/* Canvas sidebar */
.canvas-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    opacity: .7;
    display: block;
    z-index: 999;
    visibility: hidden;
}

.active-canvas-overlay {
    visibility: visible;
}

.canvas-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 350px;
    background: white;
    height: 100%;
    transform: translate3d(100%, 0, 0);
    z-index: 10000;
    -webkit-transition: .3s all;
    -o-transition: .3s all;
    transition: .3s all;
}

.active-canvas-sidebar {
    transform: none;
}

.canvas-sidebar-header {
    border-bottom: 1px solid var(--light-color);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 30px 20px;
}

.csh-heading {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 22px;
}

.canvas-sidebar-body {
    padding: 40px 20px;
    overflow-y: auto;
    height: calc(100% - 97px);
}

.csh-close {
    font-size: 15px;
    cursor: pointer;
}

.csh-close:after {
    content: "\ea02";
    font-family: Feather;
    margin-left: 5px;
    transform: translateY(3px);
    display: inline-block;
    font-size: 18px;
}



/* Audio */
audio {
    height: 40px;
    width: 100%;
}

audio::-webkit-media-controls-enclosure {
    border-radius: 5px;
}

audio::-webkit-media-controls-panel {
    background: #ddd;
    height: 40px;
}



/* Swiper */
.relative-slider {
    position: relative;
}

.side-swiper-nav {
    position: absolute;
    cursor: pointer;
    top: 50%;
    transform: translateY(-50%);
}

.ssn-prev {
    left: -30px;
}

.ssn-next {
    right: -30px;
}

.center-swiper-navigations {
    display: flex;
    justify-content: center;
    margin: 0 -5px;
}

.center-swiper-nav {
    font-size: 22px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    margin: 0 5px;
    cursor: pointer;
}

.swiper-pagination {
    display: flex;
    margin: 30px -5px 0;
}

.swiper-pagination .swiper-pagination-bullet {
    margin: 0 5px;
    cursor: pointer;
    background: #ddd;
    transition: .3s all;
}

.swiper-pagination .swiper-pagination-bullet-active,
.swiper-pagination .swiper-pagination-bullet:hover {
    background: #444;
}

.dots-swiper-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: block;
}

.liner-swiper-pagination .swiper-pagination-bullet {
    width: 30px;
    height: 3px;
    display: block;
}

.center-swiper-pagination {
    justify-content: center;
}

.swiper-slide .master-post {
    width: 100%;
    padding: 0;
}



/* Tabs */
.tabs-heading {
    list-style: none;
    margin: 0;
    display: flex;
    border-bottom: 1px solid #ccc;
}

.tabs-heading li {
    text-align: center;
    font-weight: 500;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    padding: 0 20px;
    line-height: 1.2;
    color: #888;
}

.tabs-heading .active-tab {
    color: black;
}

.tabs-heading .active-tab:before {
    content: '';
    height: 3px;
    width: 100%;
    background: var(--main-color);
    left: 0;
    bottom: -1.5px;
    position: absolute;
}

.tabs-body>div:not(:first-child) {
    display: none;
}



/* Master scroll */
.master-scrolls ::-webkit-scrollbar,
.master-scroll::-webkit-scrollbar {
    width: 3px;
}

.master-scrolls ::-webkit-scrollbar-track,
.master-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.master-scrolls ::-webkit-scrollbar-thumb,
.master-scroll::-webkit-scrollbar-thumb {
    background: #888;
}

.master-scrolls ::-webkit-scrollbar-thumb:hover,
.master-scroll::-webkit-scrollbar-thumb:hover {
    background: #555;
}



/* FontAwesome */
.fa-solid:before {
    font-family: 'Font Awesome 6 Free';
    font-style: normal;
    font-weight: 900;
}

.fa-brands:before {
    font-family: 'Font Awesome 6 Brands';
    font-style: normal;
}

.fa-facebook:before {
    content: "\f09a";
}

.fa-instagram:before {
    content: "\f16d";
}

.fa-youtube:before {
    content: "\f167";
}

.fa-x-twitter:before {
    content: "\e61b";
}

.fa-linkedin:before {
    content: "\f08c";
}

.fa-telegram:before {
    content: "\f2c6";
}

.fa-whatsapp:before {
    content: "\f232";
}

.fa-tiktok:before {
    content: "\e07b";
}

.fa-play:before {
    content: "\f04b"
}

.fa-envelope:before {
    content: "\f0e0";
}

.fa-heart:before {
    content: "\f004";
}

.fa-comment:before {
    content: "\f075";
}



/* Pre-hide GSAP scroll-animation elements until master.js runs (prevents first-paint flash) */
.gsap-hidden .fade-in-only,
.gsap-hidden .fade-in-up,
.gsap-hidden .fade-in-down,
.gsap-hidden .fade-in-left,
.gsap-hidden .fade-in-right,
.gsap-hidden .fade-in-scale,
.gsap-hidden .fade-out-scale {
    opacity: 0;
}
/* Download app */
.download-app-area {
    padding: 50px 0 70px;
}

.download-app-block {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    background: var(--light-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 45px 50px;
}

.download-app-content {
    width: 60%;
    padding-right: 40px;
}

.download-app-heading {
    font-size: 30px;
    line-height: 1.2;
    margin-bottom: 15px;
}

.download-app-description {
    color: #555555;
    line-height: 1.5;
    margin-bottom: 30px;
}

.download-app-stores {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -7px -14px;
}

.download-app-store {
    padding: 0 7px 14px;
}

.download-app-store img {
    display: block;
    width: auto;
    height: 44px;
}

.download-app-empty {
    color: #777777;
    font-size: 14px;
}

.download-app-qr {
    width: 40%;
    text-align: center;
}

.download-app-qr img {
    display: block;
    width: 180px;
    height: 180px;
    margin: 0 auto 12px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 10px;
    box-sizing: border-box;
}

.download-app-qr-text {
    color: #555555;
    font-size: 13px;
    line-height: 1.4;
}

@media (max-width: 767px) {
    .download-app-area {
        padding: 30px 0 40px;
    }

    .download-app-block {
        padding: 30px 25px;
    }

    .download-app-content {
        width: 100%;
        padding-right: 0;
    }

    .download-app-heading {
        font-size: 24px;
    }

    .download-app-qr {
        display: none;
    }
}


/* Section sub heading */
.sub-heading {
    color: var(--main-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 13px;
    margin-bottom: 12px;
}


/* App store buttons */
.app-stores {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -7px -14px;
}

.app-store {
    padding: 0 7px 14px;
}

.app-store img {
    display: block;
    width: auto;
    height: 44px;
}


/* Home — hero */
.home-hero-area {
    background: var(--light-color);
    padding: 70px 0 80px;
}

.home-hero-blocks {
    --g: min(30px, 4vw);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0 calc(var(--g) * -1) -40px;
}

.home-hero-block {
    padding: 0 var(--g) 40px;
}

.home-hero-block-1 {
    width: 58%;
}

.home-hero-block-1:only-child {
    width: 100%;
}

.home-hero-block-2 {
    width: 42%;
}

.home-hero-heading {
    font-size: 44px;
    font-weight: 600;
    margin-bottom: 20px;
}

.home-hero-text {
    color: var(--muted-color);
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 560px;
}

.home-hero-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 24px;
}


/* Home — features */
.home-features-area {
    padding: 80px 0;
}

.home-features-blocks {
    --g: min(15px, 3vw);
    display: flex;
    flex-wrap: wrap;
    margin: 0 calc(var(--g) * -1) -30px;
}

.home-feature-block {
    width: 33.333%;
    padding: 0 var(--g) 30px;
}

.home-features-icon-box {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    height: 100%;
    box-sizing: border-box;
    transition: .15s all;
}

.home-features-icon-box:hover {
    border-color: var(--main-color);
    box-shadow: 0 8px 18px rgba(30, 29, 47, .06);
}

.home-features-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--light-color);
    color: var(--main-color);
    font-size: 24px;
    margin-bottom: 20px;
}

.home-features-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.home-features-desc {
    color: var(--muted-color);
    line-height: 1.7;
}


/* Home — audiences */
.home-audiences-area {
    background: var(--light-color);
    padding: 80px 0;
}

.home-audiences-blocks {
    --g: min(15px, 3vw);
    display: flex;
    flex-wrap: wrap;
    margin: 0 calc(var(--g) * -1) -30px;
}

.home-audience-block {
    width: 25%;
    padding: 0 var(--g) 30px;
}

.home-audiences-icon-box {
    background: white;
    border-radius: 16px;
    padding: 30px;
    height: 100%;
    box-sizing: border-box;
}

.home-audiences-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--main-color);
    color: white;
    font-size: 22px;
    margin-bottom: 20px;
}

.home-audiences-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.home-audiences-desc {
    color: var(--muted-color);
    line-height: 1.7;
}


/* Home — call to action */
.home-cta-area {
    padding: 80px 0;
}

.home-cta-blocks {
    --g: min(30px, 4vw);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    background: var(--main-color);
    border-radius: 24px;
    padding: 50px calc(var(--g) * 1.5);
    box-sizing: border-box;
}

.home-cta-block {
    padding: 0 var(--g);
}

.home-cta-block-1 {
    width: 60%;
}

.home-cta-block-2 {
    width: 40%;
}

.home-cta-heading {
    color: white;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 12px;
}

.home-cta-text {
    color: rgba(255, 255, 255, .85);
    line-height: 1.7;
}

.home-cta-block-2 .app-stores {
    justify-content: flex-end;
    margin-bottom: 0;
}

.home-cta-block-2 .app-store {
    padding-bottom: 0;
}


/* Inner page hero */
.inner-hero-area {
    background: var(--light-color);
    padding: 55px 0;
    margin-bottom: 60px;
}

.inner-hero-blocks {
    display: flex;
    flex-wrap: wrap;
}

.inner-hero-block-1 {
    width: 100%;
}

.inner-hero-heading {
    font-size: 34px;
    font-weight: 600;
    margin-bottom: 12px;
}

.inner-hero-text {
    color: var(--muted-color);
    line-height: 1.7;
    max-width: 720px;
}

.inner-hero-note {
    color: var(--muted-color);
    font-size: 14px;
    margin-top: 12px;
}


/* Privacy policy */
.privacy-area {
    padding-bottom: 40px;
}

.privacy-blocks {
    display: flex;
    flex-wrap: wrap;
}

.privacy-block-1 {
    width: 100%;
}

.privacy-area .single-content {
    max-width: 860px;
}

.privacy-area .single-content h2 {
    font-size: 21px;
    font-weight: 600;
    margin-top: 35px;
}

.privacy-area .single-content ul {
    padding-left: 20px;
}

.privacy-area .single-content li {
    margin-bottom: 8px;
}


/* Contact */
.contact-area {
    padding-bottom: 60px;
}

.contact-blocks {
    --g: min(15px, 3vw);
    display: flex;
    flex-wrap: wrap;
    margin: 0 calc(var(--g) * -1) -30px;
}

.contact-block {
    width: 25%;
    padding: 0 var(--g) 30px;
}

.contact-icon-box {
    background: var(--light-color);
    border-radius: 16px;
    padding: 25px;
    height: 100%;
    box-sizing: border-box;
}

.contact-icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: white;
    color: var(--main-color);
    font-size: 20px;
    margin-bottom: 16px;
}

.contact-title {
    font-weight: 600;
    margin-bottom: 6px;
}

.contact-desc {
    color: var(--muted-color);
    line-height: 1.7;
    word-break: break-word;
}

.contact-form-area {
    padding-bottom: 60px;
}

.contact-form-blocks {
    --g: min(30px, 4vw);
    display: flex;
    flex-wrap: wrap;
    margin: 0 calc(var(--g) * -1) -40px;
}

.contact-form-block {
    padding: 0 var(--g) 40px;
}

.contact-form-block-1 {
    width: 66.6%;
}

.contact-form-block-2 {
    width: 33.3%;
}

.contact-form-area textarea {
    min-height: 160px;
}

.map-area {
    padding-bottom: 70px;
}


@media (max-width: 991px) {
    .home-hero-heading {
        font-size: 34px;
    }

    .home-feature-block {
        width: 50%;
    }

    .home-audience-block {
        width: 50%;
    }

    .contact-block {
        width: 50%;
    }
}

@media (max-width: 767px) {
    .home-hero-area {
        padding: 45px 0 50px;
    }

    .home-hero-block-1,
    .home-hero-block-2 {
        width: 100%;
    }

    .home-features-area,
    .home-audiences-area,
    .home-cta-area {
        padding: 50px 0;
    }

    .home-cta-block-1,
    .home-cta-block-2 {
        width: 100%;
    }

    .home-cta-heading {
        font-size: 24px;
    }

    .home-cta-block-2 .app-stores {
        justify-content: flex-start;
    }

    .inner-hero-area {
        padding: 35px 0;
        margin-bottom: 40px;
    }

    .inner-hero-heading {
        font-size: 26px;
    }

    .contact-form-block-1,
    .contact-form-block-2 {
        width: 100%;
    }
}

@media (max-width: 575px) {
    .home-hero-heading {
        font-size: 28px;
    }

    .form-group .form-50 {
        width: 100%;
    }
}

@media (max-width: 360px) {
    .home-feature-block,
    .home-audience-block,
    .contact-block {
        width: 100%;
    }
}


/* ==========================================================================
   DARMAN — VEB TƏTBİQİ (/app/)

   Tətbiq ekranlarının dizayn sistemi. Token-lər mobil tətbiqin
   `lib/themes/theme.dart` faylından götürülüb, komponent adları da həmin ailə
   ilə paraleldir (`DarmanCard` → `.darman-card`) — bir tərəfdə dəyişiklik
   edən ikincisini asan tapır.

   Marketinq şablonlarına TƏSİR ETMİR: bütün qaydalar `.darman-*` prefiksi ilə
   başlayır, yalnız kabinet səhifələrində (body.darman-kabinet) işlənir.
   ========================================================================== */
/* Token-lər YALNIZ tətbiq səhifələrində qüvvədədir: `:root`-a yazılsaydı
   marketinq şablonlarına da sızardı. */
body.darman-kabinet {
    --primary: #0C6B60;
    --primary-deep: #09524A;
    --brand-fill: #DFEEE8;
    --brand-accent: #8FD8C7;
    --on-brand: #FFFFFF;

    --grey1: #F1EFE9;
    --grey2: #EDEAE3;
    --grey3: #C9CFC9;
    --grey4: #9AA6A0;
    --grey5: #6B7A74;
    --grey6: #4B5B55;

    --text: #20302B;
    --oppo-text: #FFFFFF;
    --bg: #F7F5F0;
    --base: #FFFFFF;
    --border: #E0E2E1;
    --border-soft: #ECEDEC;

    --error: #E2564A;
    --error-text: #B04430;
    --error-fill: #F7E3DD;
    --warning: #B4761C;
    --warning-text: #8A5A12;
    --warning-fill: #F5E8D2;
    --success: #16A34A;
    --success-fill: #DCEDE1;
    --info: #2B6E96;
    --info-fill: #DDEDF6;
    --accent: #6A4FA3;
    --accent-fill: #EDE7F5;

    --radius: 16px;
    --radius-sm: 12px;
    --radius-card: 18px;
    --radius-lg: 20px;
    --radius-pill: 999px;

    --shadow-soft: 0 2px 10px rgba(32, 48, 43, .05);
    --shadow-lift: 0 10px 30px rgba(32, 48, 43, .12);

    --sidebar: 248px;
    --topbar: 60px;
    --bottomnav: 62px;
    --gutter: 16px;

    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
    padding-bottom: env(safe-area-inset-bottom);
}

html[data-theme="dark"] body.darman-kabinet {
    --primary: #2E9C8B;
    --primary-deep: #1E7A6C;
    --brand-fill: #12332E;
    --brand-accent: #8FD8C7;

    --grey1: #141C1A;
    --grey2: #1E2725;
    --grey3: #3A4643;
    --grey4: #6E7C77;
    --grey5: #93A19B;
    --grey6: #B4C0BB;

    --text: #E6EBE8;
    --oppo-text: #101614;
    --bg: #101614;
    --base: #18201D;
    --border: #2A332F;
    --border-soft: #222B28;

    --error-text: #E58C7B;
    --error-fill: #3A211C;
    --warning-text: #D9A441;
    --warning-fill: #33280F;
    --success-fill: #14301F;
    --info-fill: #12293A;
    --accent-fill: #241C38;

    --shadow-soft: 0 2px 10px rgba(0, 0, 0, .35);
    --shadow-lift: 0 10px 30px rgba(0, 0, 0, .5);
}

/* --------------------------------------------------------------------------
   TƏMƏL
   -------------------------------------------------------------------------- */

/* Element selektorları da tətbiqlə məhdudlaşır — `img { display: block }`
   kimi qayda marketinq şablonlarını sındıra bilərdi. */
/* :where() → specificity 0: sıfırlama saytın class-larını (.primary-button və s.)
   ləğv etməsin — əks halda düymə yazısı ağ yox, qara qalır. */
:where(body.darman-kabinet) :where(a) { color: inherit; text-decoration: none; }
:where(body.darman-kabinet) :where(button) { font: inherit; color: inherit; }
body.darman-kabinet img { max-width: 100%; display: block; }

/* Saytın qlobal `a, :visited { color: black }` qaydası rəngi olmayan link-klassları
   (logo, tile, stat) qara saxlayırdı — qaranlıq rejimdə mətn görünmürdü. Klass
   qaydası faylda sonra gəldiyi üçün :visited-i (eyni specificity) üstələyir. */
.darman-brand, .darman-tile, .darman-tile-body, .darman-stat, .darman-title, .darman-lang-item { color: var(--text); }

/* Qlobal `input[type=text], select, textarea { background: white; color: black }`
   (0,1,1) .darman-input-dan (0,1,0) güclüdür — qaranlıq rejimdə sahələr ağ qalırdı.
   Yalnız rəng/fon/sərhəd qaldırılır, ölçülər öz klass qaydalarında qalır. */
body.darman-kabinet :is(.darman-input, .darman-select, .darman-textarea) {
    background-color: var(--base); color: var(--text); border-color: var(--border);
    box-shadow: none;
}

/* Bütün sahələr eyni ölçüdə: küncü --border-radius, hündürlüyü --form-height, mətni 15px.
   Saytın `input[type=text]` qaydası (0,1,1) input-lara təyin edilməmiş `var(--font-size)` verirdi —
   input 14px, select isə 16px və hündür qalırdı. Telefonda 16px (iOS kiçik sahədə zoomlayır). */
body.darman-kabinet :is(.darman-input, .darman-select, .darman-textarea) {
    border-radius: var(--border-radius);
    font-size: 15px;
    line-height: 1.4;
}
body.darman-kabinet :is(.darman-input, .darman-select) {
    height: var(--form-height);
    padding-top: 0; padding-bottom: 0;
}
body.darman-kabinet .darman-select { padding-left: 14px; padding-right: 40px; background-position: right 12px center; text-overflow: ellipsis; }
@media (max-width: 767px) {
    body.darman-kabinet :is(.darman-input, .darman-select, .darman-textarea) { font-size: 16px; }
}
body.darman-kabinet :is(.darman-input, .darman-select, .darman-textarea):focus { border-color: var(--primary); }
body.darman-kabinet :is(.darman-input, .darman-textarea)::placeholder { color: var(--grey4); }

/* Scroll-lar CMS-in master-scroll üslubundadır (<body class="master-scrolls">).
   Qlobal qayda yalnız eni verir və açıq rənglidir — üfüqi zolaq (chip sətirləri)
   üçün hündürlük, qaranlıq rejim üçün isə tokenlər buradadır. */
body.darman-kabinet.master-scrolls ::-webkit-scrollbar { height: 3px; }
html[data-theme="dark"] body.darman-kabinet.master-scrolls ::-webkit-scrollbar-track { background: var(--grey1); }
html[data-theme="dark"] body.darman-kabinet.master-scrolls ::-webkit-scrollbar-thumb { background: var(--grey3); }
html[data-theme="dark"] body.darman-kabinet.master-scrolls ::-webkit-scrollbar-thumb:hover { background: var(--grey4); }

body.darman-kabinet #primary { padding-bottom: 0; }

.darman-content {
    flex: 1;
    width: 100%;
    max-width: 840px;
    margin: 0 auto;
    padding: 18px var(--gutter) calc(var(--bottomnav) + 34px);
}

body.darman-shell-bare .darman-content { max-width: 440px; padding-top: 34px; padding-bottom: 40px; }

/* --------------------------------------------------------------------------
   YAN MENYU (desktop)
   -------------------------------------------------------------------------- */

.darman-sidebar { display: none; }

@media (min-width: 1024px) {
    body.darman-kabinet:not(.darman-shell-bare) #wrap { padding-left: var(--sidebar); }

    .darman-sidebar {
        display: block;
        width: var(--sidebar);
        background: var(--base);
        border-right: 1px solid var(--border-soft);
        padding: 18px 12px 30px;
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        z-index: 40;
        overflow-y: auto;
    }

    .darman-content { padding-bottom: 40px; padding-top: 22px; }
    .darman-topbar { padding-left: 22px; padding-right: 22px; }
}

.darman-brand { display: flex; align-items: center; gap: 10px; padding: 6px 10px 18px; }

/* Mobil tətbiqin ic_launcher ikonu (darman-app/assets/images/ic_launcher.png). */
.darman-brand-mark { width: 32px; height: 32px; border-radius: 10px; flex: 0 0 auto; }

.darman-brand-text { font-weight: 700; font-size: 16px; letter-spacing: -.01em; }

.darman-nav { display: flex; flex-direction: column; gap: 2px; }

.darman-nav-item {
    display: flex; align-items: center; gap: 11px;
    padding: 9px 11px; border-radius: var(--radius-sm);
    color: var(--grey6); font-weight: 500; font-size: 13.5px;
}

.darman-nav-item i { font-size: 17px; color: var(--grey5); }
.darman-nav-item:hover { background: var(--grey1); }

.darman-nav-item.is-active { background: var(--brand-fill); color: var(--primary); font-weight: 600; }
.darman-nav-item.is-active i { color: var(--primary); }

.darman-nav-label {
    padding: 20px 12px 8px;
    font-size: 10.5px; font-weight: 700; letter-spacing: .07em;
    text-transform: uppercase; color: var(--grey4);
}

/* --------------------------------------------------------------------------
   ÜST ZOLAQ
   -------------------------------------------------------------------------- */

.darman-topbar {
    position: sticky; top: 0; z-index: 30;
    height: var(--topbar);
    display: flex; align-items: center; gap: 10px;
    padding: 0 var(--gutter);
    background: color-mix(in srgb, var(--base) 88%, transparent);
    backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid var(--border-soft);
}

.darman-topbar-title {
    flex: 1; min-width: 0;
    font-size: 16px; font-weight: 700; letter-spacing: -.01em;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.darman-topbar-actions { display: flex; align-items: center; gap: 4px; }

/* Dil seçicisi — <details> üzərində, açılıb-bağlanması JS-siz işləyir. */
.darman-lang { position: relative; }
.darman-lang-current {
    list-style: none; cursor: pointer; user-select: none;
    height: 36px; padding: 0 10px; border-radius: 18px;
    display: flex; align-items: center; gap: 4px;
    font-size: 12.5px; font-weight: 700; color: var(--grey6);
}
.darman-lang-current::-webkit-details-marker { display: none; }
.darman-lang-current:hover, .darman-lang[open] .darman-lang-current { background: var(--grey1); }
.darman-lang-current i { font-size: 13px; transition: transform .15s; }
.darman-lang[open] .darman-lang-current i { transform: rotate(180deg); }
.darman-lang-menu {
    position: absolute; right: 0; top: calc(100% + 6px); z-index: 50;
    min-width: 170px; padding: 6px;
    background: var(--base); border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm); box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}
.darman-lang-item {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 10px; border-radius: 8px; font-size: 13px;
}
.darman-lang-item:hover { background: var(--grey1); }
.darman-lang-item.is-active { color: var(--primary); font-weight: 700; }
.darman-lang-item img { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; }

.darman-back, .darman-icon-button {
    width: 36px; height: 36px; border-radius: 50%;
    border: 0; background: transparent; cursor: pointer;
    display: flex; align-items: center; justify-content: center; position: relative;
    color: var(--grey6);
}

.darman-back:hover, .darman-icon-button:hover { background: var(--grey1); }
.darman-back i, .darman-icon-button i { font-size: 18px; }

.darman-badge-dot {
    position: absolute; top: 7px; right: 7px;
    min-width: 15px; height: 15px; padding: 0 4px;
    border-radius: var(--radius-pill);
    background: var(--error); color: #fff;
    font-size: 9px; font-weight: 700; line-height: 15px; text-align: center;
}

.darman-avatar {
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--brand-fill); color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 13px;
    overflow: hidden;
}

.darman-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* --------------------------------------------------------------------------
   PROFİL SEÇİCİSİ
   -------------------------------------------------------------------------- */

.darman-profiles {
    position: sticky; top: var(--topbar); z-index: 20;
    background: var(--bg);
    border-bottom: 1px solid var(--border-soft);
}

.darman-profiles-scroll {
    display: flex; gap: 8px;
    padding: 10px var(--gutter);
    overflow-x: auto; scrollbar-width: none;
    max-width: 840px; margin: 0 auto;
}

.darman-profiles-scroll::-webkit-scrollbar { display: none; }

.darman-profile-pill {
    flex: 0 0 auto; cursor: pointer;
    display: flex; align-items: center; gap: 8px;
    padding: 6px 13px 6px 6px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border);
    background: var(--base);
    font-size: 12.5px; font-weight: 600; color: var(--grey6);
}

.darman-profile-pill .darman-avatar { width: 24px; height: 24px; font-size: 11px; }
.darman-profile-pill.is-active { background: var(--primary); border-color: var(--primary); color: #fff; }
.darman-profile-pill.is-active .darman-avatar { background: rgba(255,255,255,.22); color: #fff; }

/* --------------------------------------------------------------------------
   ALT NAVİQASİYA (mobil)
   -------------------------------------------------------------------------- */

.darman-bottomnav {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    height: calc(var(--bottomnav) + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    display: flex;
    background: var(--base);
    border-top: 1px solid var(--border-soft);
}

.darman-bottomnav-item {
    flex: 1;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    font-size: 10px; font-weight: 600; color: var(--grey4);
    text-align: center; line-height: 1.2;
}

.darman-bottomnav-item i { font-size: 19px; }
.darman-bottomnav-item.is-active { color: var(--primary); }

/* Masaüstündə yan menyu var — alt naviqasiya gizlənir. Qayda əsas
   `.darman-bottomnav { display:flex }`-dən SONRA durmalıdır, əks halda ləğv olunur. */
@media (min-width: 1024px) { .darman-bottomnav { display: none; } }

/* --------------------------------------------------------------------------
   KART AİLƏSİ
   -------------------------------------------------------------------------- */

.darman-card {
    background: var(--base);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
    padding: 22px;
    overflow: hidden;
}

.darman-card + .darman-card { margin-top: 12px; }
.darman-card.is-flat { box-shadow: none; }
.darman-card.is-tappable { cursor: pointer; }
.darman-card.is-tappable:hover { border-color: var(--border); box-shadow: var(--shadow-lift); }
.darman-card.is-padless { padding: 0; }
.darman-card-body { padding: 16px; }

.darman-hero {
    background: linear-gradient(135deg, var(--primary), var(--primary-deep));
    color: #fff;
    border-radius: var(--radius-card);
    padding: 18px;
}

.darman-hero .darman-hero-label { font-size: 11.5px; opacity: .82; font-weight: 600; }
.darman-hero .darman-hero-value { font-size: 22px; font-weight: 800; margin-top: 3px; }
.darman-hero-copy {
    display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
    padding: 7px 12px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 30px;
    background: rgba(255, 255, 255, .14); color: #fff; font-size: 12.5px; font-weight: 600; cursor: pointer;
}
.darman-hero-copy:hover { background: rgba(255, 255, 255, .24); }
.darman-badge-copy { border: 0; cursor: pointer; font-family: inherit; }
.darman-badge-copy:hover { filter: brightness(.95); }

.darman-row { display: flex; align-items: flex-start; gap: 12px; padding: 6px 0; }
.darman-row-label { width: 132px; flex: 0 0 132px; color: var(--grey5); font-size: 12.5px; }
.darman-row-value { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 500; }

.darman-section { margin: 22px 0 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.darman-section:first-child { margin-top: 4px; }
.darman-section-title { font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.darman-section-action { font-size: 12.5px; font-weight: 600; color: var(--primary); cursor: pointer; background: none; border: 0; padding: 0; }

.darman-label {
    font-size: 10.5px; font-weight: 700; letter-spacing: .07em;
    text-transform: uppercase; color: var(--grey4);
    margin: 18px 0 8px;
}

.darman-title { font-size: 14px; font-weight: 600; }
.darman-subtle { color: var(--grey5); font-size: 12.5px; }
.darman-muted { color: var(--grey4); font-size: 12px; }
.darman-strong { font-weight: 700; }
.darman-right { margin-left: auto; }
.darman-gap { display: flex; align-items: center; gap: 8px; }
.darman-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.darman-stack { display: flex; flex-direction: column; }
.darman-wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.darman-mt { margin-top: 12px; }
.darman-mb { margin-bottom: 12px; }
.darman-hidden { display: none !important; }

/* Kartın altındakı «Redaktə / Sil» bloku — kartın tam eninə yayılır. */
.darman-card-actions {
    display: flex; border-top: 1px solid var(--border-soft);
    margin-top: 14px;
}

.darman-card.is-padless .darman-card-actions { margin-top: 0; }

.darman-card-action {
    flex: 1; border: 0; background: none; cursor: pointer;
    padding: 11px 8px;
    display: flex; align-items: center; justify-content: center; gap: 6px;
    font-size: 12.5px; font-weight: 600; color: var(--grey6);
}

.darman-card-action + .darman-card-action { border-left: 1px solid var(--border-soft); }
.darman-card-action:hover { background: var(--grey1); }
.darman-card-action.is-danger { color: var(--error-text); }

/* --------------------------------------------------------------------------
   NİŞAN, ÇİP, SEQMENT
   -------------------------------------------------------------------------- */

.darman-badge {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 4px 10px; border-radius: var(--radius-pill);
    font-size: 10.5px; font-weight: 700; line-height: 1.2;
    background: var(--grey2); color: var(--grey5);
    white-space: nowrap;
}

.darman-badge.is-green  { background: var(--brand-fill);   color: var(--primary); }
.darman-badge.is-orange { background: var(--warning-fill); color: var(--warning-text); }
.darman-badge.is-red    { background: var(--error-fill);   color: var(--error-text); }
.darman-badge.is-blue   { background: var(--info-fill);    color: var(--info); }
.darman-badge.is-purple { background: var(--accent-fill);  color: var(--accent); }

.darman-chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 10px; scrollbar-width: none; }
.darman-chips::-webkit-scrollbar { display: none; }

.darman-chip {
    flex: 0 0 auto; cursor: pointer;
    padding: 7px 14px; border-radius: var(--radius-pill);
    border: 1px solid var(--border); background: var(--base);
    font-size: 12.5px; font-weight: 600; color: var(--grey6);
}

.darman-chip.is-active { background: var(--text); border-color: var(--text); color: var(--base); }

.darman-segmented {
    display: flex; gap: 4px; padding: 4px;
    background: var(--grey1); border-radius: var(--radius-pill);
}

.darman-segment {
    flex: 1; cursor: pointer; border: 0; background: none;
    padding: 8px 12px; border-radius: var(--radius-pill);
    font-size: 12.5px; font-weight: 600; color: var(--grey5);
}

.darman-segment.is-active { background: var(--base); color: var(--text); box-shadow: var(--shadow-soft); }
.darman-segmented.is-brand .darman-segment.is-active { background: var(--primary); color: #fff; }

/* --------------------------------------------------------------------------
   SİYAHI SƏTRİ VƏ İKON PLİTƏSİ
   -------------------------------------------------------------------------- */

.darman-list { background: var(--base); border: 1px solid var(--border-soft); border-radius: var(--radius-card); overflow: hidden; }

.darman-tile {
    display: flex; align-items: center; gap: 13px;
    padding: 14px; cursor: pointer; width: 100%;
    border: 0; background: none; text-align: left;
}

.darman-tile + .darman-tile { border-top: 1px solid var(--border-soft); }
.darman-tile:hover { background: var(--grey1); }
.darman-tile-body { flex: 1; min-width: 0; }

/* Həkim təyinatı — profil və analiz seçimi (radio/checkbox sətirdə qalsın; qlobal stil absolute-dur). */
.darman-rx-option input[type=radio], .darman-rx-option input[type=checkbox] { position: relative; top: 0; flex-shrink: 0; }
.darman-rx-option:has(input:checked:not(:disabled)) { background: var(--brand-fill); }
.darman-rx-option.is-disabled { opacity: .55; cursor: default; }
.darman-rx-scroll { max-height: 45vh; overflow-y: auto; }
.darman-tile-title { display: block; font-size: 13.5px; font-weight: 600; }
.darman-tile-sub { display: block; font-size: 12px; color: var(--grey5); margin-top: 2px; }
.darman-tile-arrow { color: var(--grey4); font-size: 15px; }

.darman-icon-tile {
    width: 38px; height: 38px; flex: 0 0 38px;
    border-radius: var(--radius-sm);
    background: var(--brand-fill); color: var(--primary);
    display: flex; align-items: center; justify-content: center; font-size: 17px;
}

.darman-icon-tile.is-orange { background: var(--warning-fill); color: var(--warning-text); }
.darman-icon-tile.is-red    { background: var(--error-fill);   color: var(--error-text); }
.darman-icon-tile.is-blue   { background: var(--info-fill);    color: var(--info); }
.darman-icon-tile.is-grey   { background: var(--grey2);        color: var(--grey5); }

/* --------------------------------------------------------------------------
   BOŞ VƏZİYYƏT, YÜKLƏNMƏ, XƏTA
   -------------------------------------------------------------------------- */

.darman-empty { text-align: center; padding: 44px 26px; }

.darman-empty-icon {
    width: 66px; height: 66px; margin: 0 auto 16px;
    border-radius: 50%; background: var(--grey2); color: var(--grey4);
    display: flex; align-items: center; justify-content: center; font-size: 26px;
}

.darman-empty-title { font-size: 15.5px; font-weight: 600; }
.darman-empty-text {
    font-size: 12.5px;
    color: var(--grey5);
    line-height: 1.5;
    width: 500px;
    max-width: 100%;
    margin: 7px auto 0;
}
.darman-empty .button,
.darman-empty .simple-button { margin-top: 18px; }

.darman-loading { display: flex; align-items: center; justify-content: center; padding: 42px 0; }

.darman-spinner {
    width: 26px; height: 26px; border-radius: 50%;
    border: 2.5px solid var(--grey2); border-top-color: var(--primary);
    animation: darman-spin .7s linear infinite;
}

@keyframes darman-spin { to { transform: rotate(360deg); } }

.darman-scaffold { position: relative; }

/* Axından kənardadır: görünəndə/itəndə elementlər yerindən tərpənmir. */
.darman-bar-loading {
    position: absolute; top: 0; left: 0; right: 0; z-index: 5;
    height: 2px; background: var(--brand-fill); overflow: hidden; border-radius: 2px;
    pointer-events: none;
}

.darman-bar-loading::after {
    content: ''; display: block; height: 100%; width: 40%;
    background: var(--primary); animation: darman-slide 1.1s ease-in-out infinite;
}

@keyframes darman-slide { 0% { transform: translateX(-100%); } 100% { transform: translateX(320%); } }

.darman-alert {
    border-radius: var(--radius-sm); padding: 11px 13px;
    font-size: 12.5px; font-weight: 500; line-height: 1.45;
}

.darman-alert.is-error   { background: var(--error-fill);   color: var(--error-text); }
.darman-alert.is-success { background: var(--success-fill); color: var(--success); }
.darman-alert.is-info    { background: var(--info-fill);    color: var(--info); }
.darman-alert.is-warning { background: var(--warning-fill); color: var(--warning-text); }

/* --------------------------------------------------------------------------
   DÜYMƏLƏR
   -------------------------------------------------------------------------- */

/* Düymələr saytın öz class-larıdır (.button / .simple-button + .primary-button,
   .outline-button, .danger-button, .wide-button). Burada yalnız tətbiqə aid əlavələr. */
body.darman-kabinet .button,
body.darman-kabinet .simple-button { gap: 8px; }
body.darman-kabinet .button[disabled],
body.darman-kabinet .simple-button[disabled] { opacity: .55; cursor: default; }
body.darman-kabinet .outline-button { background: var(--base); color: var(--text); }
body.darman-kabinet .outline-button:hover { background: var(--main-color); color: #fff; }

.darman-fab {
    position: fixed; right: 18px; z-index: 35;
    bottom: calc(var(--bottomnav) + 18px + env(safe-area-inset-bottom));
    width: 52px; height: 52px; border-radius: 50%;
    border: 0; cursor: pointer;
    background: var(--primary); color: #fff;
    box-shadow: var(--shadow-lift);
    display: flex; align-items: center; justify-content: center; font-size: 22px;
}

.darman-fab span { display: none; }

/* Boş siyahıda D.empty öz «əlavə et» düyməsini çəkir — təkrar olmasın deyə FAB gizlənir. */
.darman-fab:has(+ #darman-view [data-darman-add]) { display: none; }

/* Masaüstündə FAB gözə çarpmırdı — orada səhifənin içində, siyahının üstündə
   mətnli adi düymə kimi göstərilir. Mobildə üzən dairəvi düymə qalır. */
@media (min-width: 1024px) {
    .darman-fab {
        position: static; width: fit-content; height: 46px;
        margin: 0 0 16px auto; padding: 0 22px; gap: 8px;
        border-radius: var(--radius-pill); box-shadow: none;
        font-size: 15px; font-weight: 600; text-decoration: none;
    }
    .darman-fab i { font-size: 18px; }
    .darman-fab span { display: inline; }
    .darman-fab:hover { color: #fff; filter: brightness(1.08); }
}

.darman-link { color: var(--primary); font-weight: 600; cursor: pointer; }

/* «Sayta qayıt», «Girişə qayıt» — qarşısında uzun sol ox. Mask ilə çəkilir ki,
   ox linkin rəngini (currentColor) götürsün. */
.darman-back-link { display: inline-flex; align-items: center; gap: 8px; }
.darman-back-link::before {
    content: ""; width: 20px; height: 12px; flex: 0 0 auto;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 12' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 6H1.5M6 1.5 1.5 6 6 10.5'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 12' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 6H1.5M6 1.5 1.5 6 6 10.5'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: transform .15s;
}
.darman-back-link:hover::before { transform: translateX(-3px); }

/* --------------------------------------------------------------------------
   FORMALAR
   -------------------------------------------------------------------------- */

.darman-field { margin-bottom: 14px; }
.darman-field-label { display: block; font-size: 12px; font-weight: 600; color: var(--grey6); margin-bottom: 6px; }
.darman-field-hint { font-size: 11.5px; color: var(--grey4); margin-top: 5px; line-height: 1.4; }

.darman-input, .darman-select, .darman-textarea {
    width: 100%; padding: 12px 14px;
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    background: var(--base); color: var(--text);
    font-family: inherit;
    /* iOS Safari 16px-dən kiçik sahədə səhifəni zoomlayır və geri qaytarmır
       (frontend.md §4a) — ölçü padding ilə tarazlanır, kiçildilmir. */
    font-size: 16px;
    /* Saytın qlobal input/select qaydası `height/line-height: 46px` verir —
       padding-lə birlikdə seçilmiş mətn aşağı sürüşüb kəsilirdi. */
    height: auto; line-height: 1.4;
    outline: none;
}

.darman-input:focus, .darman-select:focus, .darman-textarea:focus { border-color: var(--primary); }
.darman-textarea { min-height: 96px; resize: vertical; }
.darman-select {
    appearance: none; -webkit-appearance: none; cursor: pointer;
    padding-right: 42px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a8f98' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}

/* Tarix + saat (F.datetime): solda təqvim, sağda saat:dəqiqə select-ləri. */
.darman-datetime { display: flex; gap: 10px; align-items: center; }
.darman-datetime > .darman-date-wrap { flex: 1 1 auto; min-width: 0; }

/* Tarix sahəsi (darman-datepicker.js): sağda təqvim ikonu. */
.darman-date-wrap { position: relative; }
.darman-date { padding-right: 42px; cursor: pointer; }
.darman-date-wrap > i {
    position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
    font-size: 17px; color: var(--grey5); pointer-events: none;
}
.darman-date.is-open { border-color: var(--primary); }

/* jQuery UI datepicker — tema faylı yüklənmir, görünüş tamamilə buradadır.
   Widget <body>-yə əlavə olunur, ona görə tətbiqin token-ləri işləyir. */
.darman-kabinet .ui-datepicker {
    display: none; z-index: 1000 !important;
    width: 296px; padding: 12px; margin-top: 6px;
    background: var(--base); color: var(--text);
    border: 1px solid var(--border-soft); border-radius: var(--radius-card, 14px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .14);
    font-size: 13px;
}
.darman-kabinet .ui-datepicker-header { position: relative; display: flex; align-items: center; justify-content: center; height: 36px; margin-bottom: 6px; }
.darman-kabinet .ui-datepicker-prev,
.darman-kabinet .ui-datepicker-next {
    position: absolute; top: 0; width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--grey6);
}
.darman-kabinet .ui-datepicker-prev { left: 0; }
.darman-kabinet .ui-datepicker-next { right: 0; }
.darman-kabinet .ui-datepicker-prev:hover,
.darman-kabinet .ui-datepicker-next:hover { background: var(--grey1); }
.darman-kabinet .ui-datepicker-prev span,
.darman-kabinet .ui-datepicker-next span { display: none; }
.darman-kabinet .ui-datepicker-prev::before,
.darman-kabinet .ui-datepicker-next::before { font-family: 'Feather'; font-size: 17px; }
.darman-kabinet .ui-datepicker-prev::before { content: "\e92f"; }
.darman-kabinet .ui-datepicker-next::before { content: "\e930"; }
.darman-kabinet .ui-datepicker-title { display: flex; gap: 6px; }
.darman-kabinet .ui-datepicker-title select {
    width: auto; height: 32px; line-height: 1.2; padding: 0 26px 0 10px;
    font-size: 13px; font-weight: 700; color: var(--text);
    background-color: var(--base); border: 1px solid var(--border-soft); border-radius: 8px; box-shadow: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a8f98' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 7px center; background-size: 14px;
}
.darman-kabinet .ui-datepicker table { width: 100%; border-collapse: collapse; margin: 0; }
.darman-kabinet .ui-datepicker th { padding: 6px 0; font-size: 11px; font-weight: 700; color: var(--grey5); text-align: center; text-transform: uppercase; }
.darman-kabinet .ui-datepicker td { padding: 1px; text-align: center; }
.darman-kabinet .ui-datepicker td a,
.darman-kabinet .ui-datepicker td span {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; margin: 0 auto; border-radius: 50%;
    color: var(--text); font-weight: 600; text-decoration: none;
}
.darman-kabinet .ui-datepicker td a:hover { background: var(--grey1); }
.darman-kabinet .ui-datepicker-other-month a { color: var(--grey4) !important; font-weight: 500 !important; }
.darman-kabinet .ui-datepicker-today a { box-shadow: inset 0 0 0 1px var(--primary); color: var(--primary); }
.darman-kabinet .ui-datepicker td a.ui-state-active { background: var(--primary); color: #fff; box-shadow: none; }
.darman-kabinet .ui-datepicker-unselectable span { color: var(--grey3, #c9ccd1); }
.darman-kabinet .ui-datepicker-buttonpane {
    display: flex; justify-content: space-between; gap: 8px;
    margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--border-soft);
}
.darman-kabinet .ui-datepicker-buttonpane button {
    border: 0; background: none; cursor: pointer; font: inherit;
    font-size: 13px; font-weight: 700; padding: 6px 10px; border-radius: 8px; color: var(--primary);
}
.darman-kabinet .ui-datepicker-buttonpane button:hover { background: var(--grey1); }
.darman-kabinet .ui-datepicker-buttonpane .ui-datepicker-close { color: var(--grey6); order: 2; }
.darman-kabinet .ui-helper-hidden-accessible { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.darman-input[readonly] { background: var(--grey1); }

.darman-field.has-error .darman-input, .darman-field.has-error .darman-select, .darman-field.has-error .darman-textarea { border-color: var(--error); }
.darman-field-error { font-size: 11.5px; color: var(--error-text); margin-top: 5px; }

.darman-grid-2 { --g: min(6px, 2vw); display: flex; flex-wrap: wrap; margin: 0 calc(var(--g) * -1); }
.darman-grid-2 > * { width: 50%; padding: 0 var(--g); }

@media (max-width: 520px) { .darman-grid-2 > * { width: 100%; } }

.darman-switch-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 0; }
.darman-switch-row + .darman-switch-row { border-top: 1px solid var(--border-soft); }

.darman-switch { position: relative; width: 42px; height: 24px; flex: 0 0 42px; cursor: pointer; }
.darman-switch input { opacity: 0; width: 0; height: 0; position: absolute; }

.darman-switch span {
    position: absolute; inset: 0; border-radius: var(--radius-pill);
    background: var(--grey3); transition: background .15s ease;
}

.darman-switch span::after {
    content: ''; position: absolute; top: 3px; left: 3px;
    width: 18px; height: 18px; border-radius: 50%;
    background: #fff; transition: transform .15s ease;
}

.darman-switch input:checked + span { background: var(--primary); }
.darman-switch input:checked + span::after { transform: translateX(18px); }

.darman-check { display: flex; align-items: flex-start; gap: 9px; font-size: 12.5px; line-height: 1.45; cursor: pointer; }
/* Saat sahəsi (.darman-time) və saat/dəqiqə cədvəli (darman-forms.js). Pəncərə (z-index 70) üstündə açılır. */
.darman-time-wrap { position: relative; display: inline-block; width: 120px; flex: 0 0 auto; }
.darman-time-wrap .darman-input { padding-right: 38px; cursor: pointer; }
.darman-time-wrap i { position: absolute; right: 13px; top: 50%; transform: translateY(-50%); color: var(--grey5); font-size: 16px; pointer-events: none; }
.darman-hours-row { display: flex; align-items: center; gap: 8px; padding: 7px 0; }
.darman-hours-day { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.darman-hours-row .darman-time-wrap { width: 92px; }
.darman-hours-row .darman-time-wrap .darman-input { padding-left: 10px; padding-right: 28px; }
.darman-hours-row .darman-time-wrap i { right: 9px; font-size: 14px; }
.darman-hours-row .darman-check { align-items: center; flex-shrink: 0; }

@media (max-width: 480px) {
    .darman-hours-row { flex-wrap: wrap; row-gap: 6px; }
    .darman-hours-day { flex-basis: 100%; font-weight: 600; }
    .darman-hours-row .darman-time-wrap { width: 86px; }
}

.darman-timepicker {
    position: absolute; z-index: 2000; width: 264px; padding: 10px;
    background: var(--base); border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm); box-shadow: var(--shadow-lift);
}
.darman-timepicker-head { display: flex; align-items: center; gap: 6px; height: 30px; margin-bottom: 6px; padding: 0 4px; font-size: 13px; font-weight: 700; color: var(--text); }
.darman-timepicker-back { width: 28px; height: 28px; border-radius: 50%; background: transparent; display: flex; align-items: center; justify-content: center; color: var(--grey6); }
.darman-timepicker-back:hover { background: var(--grey1); }
.darman-timepicker-grid { display: flex; flex-wrap: wrap; gap: 4px; }
.darman-timepicker-grid button {
    width: calc((100% - 20px) / 6); height: 36px; border-radius: var(--border-radius);
    background: transparent; color: var(--text); font-size: 14px; font-weight: 500;
}
.darman-timepicker-grid.is-minute button { width: calc((100% - 12px) / 4); height: 40px; }
.darman-timepicker-grid button:hover { background: var(--brand-fill); color: var(--primary); }
.darman-timepicker-grid button:focus-visible { outline: 2px solid var(--primary); outline-offset: 1px; }
.darman-timepicker-grid button.is-active { background: var(--primary); color: #fff; }

.darman-password { position: relative; }
.darman-password .darman-input { padding-right: 46px; }
.darman-password .show-hide {
    position: absolute; top: 50%; right: 6px; transform: translateY(-50%);
    width: 36px; height: 36px; border-radius: 50%; background: transparent;
    display: flex; align-items: center; justify-content: center; color: var(--grey5);
}
.darman-password .show-hide:hover { background: var(--grey1); }
.darman-password .show-hide i { font-size: 17px; }

.darman-auth-head { position: relative; }
.darman-auth-langs { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: flex; gap: 4px; }
.darman-auth-langs a { padding: 4px 8px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 600; color: var(--grey5); }
.darman-auth-langs a.is-active, .darman-auth-langs a:hover { background: var(--brand-fill); color: var(--primary); }

.darman-google { margin-bottom: 4px; }
.darman-google #darman-google { display: flex; justify-content: center; min-height: 44px; }
.darman-google-terms { margin-top: 8px; font-size: 11.5px; line-height: 1.45; color: var(--grey5); text-align: center; }
.darman-google-terms a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }

.darman-or { display: flex; align-items: center; gap: 12px; margin: 14px 0; color: var(--grey4); font-size: 12px; }
.darman-or::before, .darman-or::after { content: ''; flex: 1; height: 1px; background: var(--border-soft); }

.darman-check a { color: var(--primary); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
/* Qlobal input[type=checkbox] qaydası position:absolute verir — burada axına qaytarırıq,
   yoxsa checkbox label-dən qopub görünməz olur. */
.darman-check input { position: relative; top: auto; left: auto; flex: 0 0 auto; margin-top: 1px; accent-color: var(--primary); width: 18px; height: 18px; }

.darman-file {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 14px; border: 1px dashed var(--border);
    border-radius: var(--radius-sm); cursor: pointer;
    font-size: 12.5px; color: var(--grey5);
}

.darman-file:hover { border-color: var(--primary); color: var(--primary); }

/* Çox fayllı sahə (F.file multiple) və sənədin mövcud faylları. */
.darman-file-list:not(:empty) { display: flex; flex-direction: column; gap: 6px; margin-bottom: 8px; }
.darman-file-item {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 12px; border: 1px solid var(--border-soft); border-radius: var(--radius-sm);
    background: var(--base); font-size: 12.5px; color: var(--text);
}
.darman-file-item > i { color: var(--grey5); font-size: 15px; }
.darman-file-item > span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.darman-file-item > small { color: var(--grey5); font-size: 11px; }
.darman-file-item > button, .darman-file-item > a.darman-file-open {
    border: 0; background: none; padding: 2px; cursor: pointer; color: var(--grey5); line-height: 1;
}
.darman-file-item > button:hover { color: var(--error-text); }
.darman-file-item.is-removed { opacity: .45; }
.darman-file-item.is-removed > span { text-decoration: line-through; }

/* Bəyən (D.postCard): boş ürək → dolu qırmızı ürək + qısa «sıçrayış». */
.darman-like .darman-heart {
    width: 16px; height: 16px; flex: 0 0 auto;
    fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
body.darman-kabinet .darman-like.is-liked { color: var(--error-text); border-color: var(--error-fill); background: var(--error-fill); }
.darman-like.is-liked .darman-heart { fill: currentColor; animation: darman-like-pop .32s ease-out; }
@keyframes darman-like-pop { 0% { transform: scale(.6); } 60% { transform: scale(1.18); } 100% { transform: scale(1); } }

/* --------------------------------------------------------------------------
   VƏRƏQ (bottom sheet / modal) VƏ TOAST
   -------------------------------------------------------------------------- */

.darman-sheet-backdrop {
    display: none; /* JS (backdrop()) yalnız vərəq açıq olanda göstərir */
    position: fixed; inset: 0; z-index: 60;
    background: rgba(16, 22, 20, .45);
    backdrop-filter: blur(2px);
}

.darman-sheet {
    position: fixed; z-index: 70; left: 0; right: 0; bottom: 0;
    max-height: 92vh; overflow-y: auto;
    background: var(--base);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: 6px 18px calc(24px + env(safe-area-inset-bottom));
    animation: darman-sheet-up .2s ease;
}

@keyframes darman-sheet-up { from { transform: translateY(18px); opacity: .6; } }

@media (min-width: 720px) {
    .darman-sheet {
        left: 50%; bottom: auto; top: 50%; right: auto;
        transform: translate(-50%, -50%);
        width: min(520px, calc(100vw - 40px));
        border-radius: var(--radius-lg);
        padding-bottom: 24px;
    }
    @keyframes darman-sheet-up { from { transform: translate(-50%, -46%); opacity: .6; } }
}

.darman-sheet-handle { width: 42px; height: 4px; border-radius: 2px; background: var(--grey2); margin: 8px auto 14px; }
@media (min-width: 720px) { .darman-sheet-handle { display: none; } }

.darman-sheet-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.darman-sheet-title {
    font-size: 18px;
    font-weight: 700;
    margin-top: 5px;
}
.darman-sheet-close { border: 0; background: none; cursor: pointer; color: var(--grey4); font-size: 32px; line-height: 1; }
.darman-sheet-footer { display: flex; gap: 10px; margin-top: 20px; }
.darman-sheet-footer .button { flex: 1; }

/* Göstərici kartları sırası (ana səhifə, gündəlik, qidalanma, qadın sağlamlığı, izləyənlər). */
.darman-stats { display: flex; flex-wrap: wrap; gap: 10px; }
.darman-stat {
    flex: 1 1 0; min-width: calc(50% - 5px);
    background: var(--base); border: 1px solid var(--border-soft); border-radius: var(--radius-sm);
    padding: 14px 12px; text-align: center;
}
a.darman-stat:hover { border-color: var(--border); box-shadow: var(--shadow-soft); }

@media (min-width: 600px) {
    .darman-stat { min-width: 0; }
}

.darman-stat-value { font-size: 18px; font-weight: 800; }
.darman-stat-label { font-size: 11px; color: var(--grey5); margin-top: 3px; }

.darman-moods { display: flex; justify-content: space-between; gap: 6px; }

.darman-mood {
    flex: 1; border: 1px solid var(--border-soft); background: var(--base);
    border-radius: var(--radius-sm); padding: 10px 4px; cursor: pointer;
    text-align: center; line-height: 1.1;
}

/* Əhval ikonları — solid SVG (assets/images/moods/{açar}.svg). */
.darman-mood img { width: 34px; height: 34px; margin: 0 auto; }
.darman-mood:hover img { transform: scale(1.08); }
.darman-mood img { transition: transform .15s; }

.darman-mood span { display: block; font-size: 10px; font-weight: 600; color: var(--grey5); margin-top: 4px; }
.darman-mood.is-active { border-color: var(--primary); background: var(--brand-fill); }
.darman-mood.is-active span { color: var(--primary); font-weight: 700; }
.darman-mood.is-dimmed { opacity: .35; }
.darman-moods.is-busy .darman-mood { cursor: default; }

.darman-quick { --g: min(4px, 2vw); display: flex; flex-wrap: wrap; margin: 0 calc(var(--g) * -1) -8px; }
.darman-quick > * { width: 25%; padding: 0 var(--g); margin-bottom: 8px; }

@media (max-width: 520px) { .darman-quick > * { width: 50%; } }

.darman-quick-item {
    border: 1px solid var(--border-soft); background: var(--base);
    border-radius: var(--radius-sm); padding: 12px 6px; cursor: pointer;
    text-align: center; font-size: 11px; font-weight: 600; color: var(--grey6);
}

.darman-quick-item i { display: block; font-size: 18px; color: var(--primary); margin-bottom: 6px; }
.darman-quick-item b { display: block; font-size: 10px; color: var(--grey4); font-weight: 600; margin-top: 3px; }

/* Düymə seçicisi (F.choice) — tətbiqin `_selectorBox`-u: seçilən brend rəngli. */
.darman-choice { display: flex; flex-wrap: wrap; gap: 6px; }
.darman-choice.is-fill { flex-wrap: nowrap; }
.darman-choice.is-fill .darman-choice-item { flex: 1 1 0; padding-left: 0; padding-right: 0; }
.darman-choice-item {
    padding: 11px 16px; min-width: 0; cursor: pointer;
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    background: var(--base); color: var(--grey5);
    font: inherit; font-size: 15px; font-weight: 700; line-height: 1.2;
    transition: background .12s, border-color .12s, color .12s;
}
.darman-choice-item:hover { border-color: var(--primary); }
.darman-choice-item.is-active { background: var(--primary); border-color: var(--primary); color: var(--on-brand, #fff); }

/* Pill variantı (şikayət səbəbləri) — content_actions.dart-dakı çiplər. */
.darman-choice.is-pills .darman-choice-item { padding: 8px 13px; border-radius: 30px; font-size: 12.5px; font-weight: 600; color: var(--text); background: var(--grey2); border-color: transparent; }
.darman-choice.is-pills .darman-choice-item.is-active { background: var(--primary); color: #fff; }

/* «⋯» — başqasının post/şərhi üçün şikayət/blok menyusu. */
.darman-more {
    margin-left: auto; align-self: flex-start; flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%;
    border: 0; background: none; cursor: pointer; color: var(--grey5);
    display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.darman-more:hover { background: var(--grey1); color: var(--text); }

/* «Bugünə əlavə et» kartları — quick_add.dart: fon modulun «fill» rəngi,
   ikon/mətn onun «accent»i. Qaranlıq rejimdə token-lər özü dəyişir. */
.darman-qgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 720px) { .darman-qgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.darman-qcard {
    --qf: var(--brand-fill); --qa: var(--primary);
    position: relative; background: var(--qf); color: var(--qa);
    border-radius: var(--radius-card); transition: transform .15s, box-shadow .15s;
}
.darman-qcard:hover { transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.darman-qcard.is-error   { --qf: var(--error-fill);   --qa: var(--error-text); }
.darman-qcard.is-success { --qf: var(--success-fill); --qa: var(--success); }
.darman-qcard.is-accent  { --qf: var(--accent-fill);  --qa: var(--accent); }
.darman-qcard.is-info    { --qf: var(--info-fill);    --qa: var(--info); }
.darman-qcard.is-dark    { --qf: var(--text);         --qa: var(--base); }

.darman-qcard-link { display: block; padding: 14px; color: inherit; }
.darman-qcard-icon { display: block; font-size: 20px; margin-bottom: 10px; }
.darman-qcard-title { display: block; font-size: 13.5px; font-weight: 700; line-height: 1.2; }
.darman-qcard-sub { display: flex; align-items: center; gap: 2px; margin-top: 3px; font-size: 11.5px; font-weight: 500; opacity: .8; }
.darman-qcard-sub span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.darman-qcard-add {
    position: absolute; top: 10px; right: 10px;
    width: 26px; height: 26px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    background: var(--qa); color: var(--qf); font-size: 15px;
}
.darman-qcard-add:hover { transform: scale(1.08); }
.darman-qcard-go { position: absolute; top: 14px; right: 14px; font-size: 17px; opacity: .7; pointer-events: none; }

.darman-avatar-lg {
    width: 62px; height: 62px; border-radius: 50%;
    background: var(--brand-fill); color: var(--primary);
    display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700;
    overflow: hidden; flex: 0 0 62px;
}

.darman-avatar-lg img { width: 100%; height: 100%; object-fit: cover; }

.darman-post-image { width: 100%; border-radius: var(--radius-sm); margin-top: 12px; }
.darman-post-text a { color: var(--primary); text-decoration: underline; word-break: break-all; }
.darman-card.darman-post { padding: 18px; }
.darman-post .darman-post-image { margin-top: 10px; }
.darman-link-card { display: block; margin-top: 10px; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; color: inherit; text-decoration: none; background: var(--grey1); }
.darman-link-card:hover { border-color: var(--grey3); }
.darman-link-card-image { display: block; width: 100%; aspect-ratio: 1.91 / 1; object-fit: cover; background: var(--grey2); }
.darman-link-card-body { display: block; padding: 10px 12px; }
.darman-link-card-site { display: block; font-size: 11px; color: var(--grey5); text-transform: uppercase; letter-spacing: .03em; }
.darman-link-card-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 2px; font-weight: 700; font-size: 14px; color: var(--text); }
.darman-link-card-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 2px; font-size: 13px; color: var(--grey5); }
.darman-feed-tools .darman-input { min-width: 0; }
body.darman-kabinet .darman-input-row .button { border-radius: var(--border-radius); height: var(--form-height); flex-shrink: 0; }
.darman-input-row .darman-input { min-width: 0; }
body.darman-kabinet .darman-post-actions .outline-button:not(:hover) { border-color: var(--border); }
body.darman-kabinet .darman-post-actions .darman-like.is-liked { border-color: var(--error-fill); }
.darman-feed-tools .button { flex-shrink: 0; padding: 0 16px; gap: 6px; }

@media (max-width: 767px) {
    .darman-card.darman-post { padding: 16px; }
    .darman-feed-tools { gap: 6px; }
    .darman-feed-tools .button { padding: 0 10px; }
}

.darman-week-bar { display: flex; gap: 6px; }
.darman-week-day { flex: 1; text-align: center; padding: 9px 2px; border-radius: var(--radius-sm); background: var(--grey1); font-size: 11px; }
.darman-week-day.is-today { background: var(--primary); color: #fff; font-weight: 700; }
.darman-week-day.is-marked { background: var(--error-fill); color: var(--error-text); font-weight: 600; }

.darman-progress { height: 8px; border-radius: 4px; background: var(--grey2); overflow: hidden; }
.darman-progress > i { display: block; height: 100%; background: var(--primary); }

/* Qrafik (D.chart) — tətbiqdəki TrackChart. Xətt və nöqtələr ekranda sabit qalınlıqdadır. */
.darman-chart-box { position: relative; padding-left: 64px; }
.darman-chart-scale { position: absolute; left: 0; top: 0; bottom: 0; width: 58px; display: flex; flex-direction: column; justify-content: space-between; padding: 2px 0; font-size: 11px; color: var(--grey5); text-align: right; }
.darman-chart { display: block; width: 100%; height: 180px; overflow: visible; }
.darman-chart-grid { stroke: var(--border-soft); stroke-width: 1; vector-effect: non-scaling-stroke; }
.darman-chart-area { fill: var(--brand-fill); opacity: .55; }
.darman-chart-line { fill: none; stroke: var(--primary); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.darman-chart-line.is-second { stroke: var(--grey4); }
.darman-chart-dot { fill: none; stroke: var(--primary); stroke-width: 6; stroke-linecap: round; vector-effect: non-scaling-stroke; cursor: default; }
.darman-chart-dot.is-second { stroke: var(--grey4); }
.darman-chart-dot.is-last { stroke-width: 11; stroke: var(--primary); pointer-events: none; }
.darman-chart-dates { margin-top: 8px; padding-left: 64px; font-size: 11px; color: var(--grey5); }

.darman-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.darman-table th { text-align: left; font-weight: 600; color: var(--grey5); padding: 8px 10px; font-size: 11.5px; }
.darman-table td { padding: 10px; border-top: 1px solid var(--border-soft); }

.darman-html { font-size: 13.5px; line-height: 1.6; }
.darman-html h2, .darman-html h3 { margin: 20px 0 8px; font-size: 15px; }
.darman-html p { margin: 0 0 12px; }
.darman-html ul, .darman-html ol { margin: 0 0 12px; padding-left: 20px; }
.darman-html a { color: var(--primary); font-weight: 600; }

/* --------------------------------------------------------------------------
   GİRİŞ AXINI (bare qabıq)
   -------------------------------------------------------------------------- */

.darman-auth-head { display: flex; justify-content: center; margin-bottom: 18px; }
.darman-auth-head .darman-brand { padding: 0; }

/* Vərəq içindəki forma sahələri kartla eyni enidə qalsın. */
.darman-sheet .darman-field:last-child { margin-bottom: 0; }

/* Tile içindəki checkbox etiketinin öz boşluğu olmasın. */
.darman-tile > .darman-check { flex: 0 0 auto; }

/* Ekran oxuyucular üçün gizli mətn. */
.darman-sr {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Saytın feather şriftində olmayan iki ikon (coffee, smile) — orijinal Feather SVG-si maska kimi,
   şrift ikonu kimi işləyir: <i class="fe fe-coffee">, rəngi mətndən (currentColor) götürür. */
.fe-coffee:before,
.fe-smile:before {
    content: '';
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    background-color: currentColor;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
}
.fe-coffee:before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 8h1a4 4 0 0 1 0 8h-1'/%3E%3Cpath d='M2 8h16v9a4 4 0 0 1-4 4H6a4 4 0 0 1-4-4V8z'/%3E%3Cline x1='6' y1='1' x2='6' y2='4'/%3E%3Cline x1='10' y1='1' x2='10' y2='4'/%3E%3Cline x1='14' y1='1' x2='14' y2='4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 8h1a4 4 0 0 1 0 8h-1'/%3E%3Cpath d='M2 8h16v9a4 4 0 0 1-4 4H6a4 4 0 0 1-4-4V8z'/%3E%3Cline x1='6' y1='1' x2='6' y2='4'/%3E%3Cline x1='10' y1='1' x2='10' y2='4'/%3E%3Cline x1='14' y1='1' x2='14' y2='4'/%3E%3C/svg%3E"); }
.fe-smile:before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M8 14s1.5 2 4 2 4-2 4-2'/%3E%3Cline x1='9' y1='9' x2='9.01' y2='9'/%3E%3Cline x1='15' y1='9' x2='15.01' y2='9'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M8 14s1.5 2 4 2 4-2 4-2'/%3E%3Cline x1='9' y1='9' x2='9.01' y2='9'/%3E%3Cline x1='15' y1='9' x2='15.01' y2='9'/%3E%3C/svg%3E"); }

/* Fayl yükləmə zolağı (D.progress). `.darman-progress` adı göstərici zolaqlarınındır — qarışmasın. */
.darman-upload { margin-top: 12px; }
.darman-upload-text { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 600; color: var(--grey6); }
.darman-upload-track { height: 8px; border-radius: var(--radius-pill); background: var(--grey1); overflow: hidden; }
.darman-upload-bar { width: 0; height: 100%; border-radius: inherit; background: var(--primary); transition: width .2s; }

/* Həkim müraciəti: sənəd yerləri (hamısı görünür, məcburi). */
.darman-doc-slot { cursor: pointer; }
.darman-doc-slot-action { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--grey1); color: var(--grey6); flex: 0 0 auto; }
.darman-doc-slot.is-done .darman-doc-slot-action { background: var(--primary); color: #fff; }
.darman-doc-slot.is-done .darman-tile-sub { color: var(--primary); font-weight: 600; }
.darman-required { color: var(--error); }

/* Təsdiq gözləyən hesab (provider-status.js → pending). */
.darman-pending { text-align: center; padding-top: 28px; padding-bottom: 28px; }
.darman-pending-icon { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--warning-fill); color: var(--warning); font-size: 30px; }
.darman-pending-title { font-size: 20px; font-weight: 700; margin: 4px 0 8px; }
.darman-steps { display: flex; flex-direction: column; gap: 13px; }
.darman-step { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--text); }
.darman-step-dot { width: 22px; height: 22px; border-radius: 50%; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; font-size: 12px; color: #fff; border: 2px solid var(--grey3); }
.darman-step.is-done .darman-step-dot { background: var(--primary); border-color: var(--primary); }
.darman-step.is-current .darman-step-dot { border-color: var(--warning); box-shadow: inset 0 0 0 4px var(--base); background: var(--warning); }
.darman-step.is-waiting { color: var(--grey5); font-weight: 500; }
.darman-pending-email b { word-break: break-all; }

/* Bildiriş qutusu (master.js → coolAlert, #alert). Əvvəl stili yox idi — mətn səhifənin ən altına
   adi blok kimi düşür, görünmürdü. İndi aşağıda, ortada qısa müddətli bildirişdir. */
#alert {
    display: none;
    position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 3000;
    transform: translateX(-50%); max-width: calc(100% - 32px);
    padding: 12px 18px; border-radius: var(--radius-sm, 12px);
    background: #1F2A27; color: #fff; font-size: 14px; font-weight: 500; line-height: 1.4;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .18); text-align: center;
}
#alert .alert { margin: 0; }
@media (max-width: 1023px) {
    body.darman-kabinet:not(.darman-shell-bare) #alert { bottom: calc(var(--bottomnav, 62px) + 16px + env(safe-area-inset-bottom)); }
}

/* Əhval tarixçəsində hər qeydin smayliki. */
.darman-mood-icon { width: 38px; height: 38px; flex: 0 0 auto; }

.darman-sheet:focus { outline: none; }

/* Çox şəkilli post (2026-10-18) — scroll-snap qalereya, 5:3 (tətbiqdəki kimi). */
.darman-gallery { position: relative; margin-top: 10px; border-radius: var(--radius-sm); overflow: hidden; background: var(--grey1); }
.darman-gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.darman-gallery-track::-webkit-scrollbar { display: none; }
.darman-gallery-slide { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 5 / 3; display: block; }
.darman-gallery-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.darman-gallery-count { position: absolute; top: 8px; right: 8px; padding: 2px 8px; border-radius: 999px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 11px; font-weight: 600; pointer-events: none; }
.darman-gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); color: #222; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 1px 4px rgba(0, 0, 0, .2); }
.darman-gallery-nav.is-prev { left: 8px; }
.darman-gallery-nav.is-next { right: 8px; }
.darman-gallery-nav[hidden] { display: none; }
@media (hover: none) { .darman-gallery-nav { display: none; } }

/* Post formasında kvadrat şəkil xanaları. */
.darman-post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.darman-post-tile { position: relative; aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; background: var(--grey1); }
.darman-post-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.darman-post-tile-remove { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .55); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 13px; }
.darman-post-tile-add { aspect-ratio: 1; border: 1px dashed var(--border); border-radius: var(--radius-sm); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer; color: var(--grey5); font-size: 12px; font-weight: 600; text-align: center; background: var(--grey1); }
.darman-post-tile-add i { font-size: 20px; color: var(--primary); }
.darman-post-tile-add:hover { border-color: var(--primary); color: var(--primary); }
