// Custom Theming for NG-ZORRO
// For more information: https://ng.ant.design/docs/customize-theme/en
// :root {
//     --antd-wave-shadow-color: yellow;

// }

@import "../node_modules/ng-zorro-antd/ng-zorro-antd.compact.less";
@import "service/fikoyt-ui/src/lib/temalar/temalar.less";
// Override less variables to here
// View all variables: https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/components/style/themes/default.less

// @primary-color: #0068c9;
@breadcrumb-separator-margin: 0 0; //@padding-xs;
@alert-padding-vertical: 0px;
@alert-padding-horizontal: 0px;

@wave-animation-width: 14px;

.ant-card {
    border-radius: 10px;
}

[ant-click-animating-without-extra-node="true"]:not([z-index]) {
    z-index: 1;
}

/* You can add global styles to this file, and also import other style files */
html {
    font-size: 0.75rem;
    // --antd-wave-shadow-color: yellow;
}

html,
body {
    padding: 0;
    margin: 0;
    background: #e6e6e6 !important;
}

*:not(input, textarea) {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: -moz-none;
    -o-user-select: none;
    user-select: none;

    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: -moz-none;
    -o-user-drag: none;
    user-drag: none;
}



.ui.animated.button>.hidden.content {
    opacity: 1;
    display: block !important;
}



.ant-drawer-content {
    pointer-events: none !important;
    
}


html.cdk-global-scrollblock {
    position: initial !important;
    overflow: hidden !important;
}

body {
    position: relative !important;
}

// html.cdk-global-scrollblock body {
//     overflow: hidden !important;
//     position: fixed !important;
//     width: 100% !important;
//     height: 100% !important;
//     top: 0 !important;
//     left: 0 !important;
// }

.cdk-global-scrollblock {
    overflow: auto !important;
    position: unset !important;
    top: auto !important;
    left: auto !important;
    width: auto !important;
  }
/**/
// body {
//     background-image: url('https://static.pexels.com/photos/414171/pexels-photo-414171.jpeg');
//     background-size: cover;
//     -webkit-animation: slidein 100s;
//     animation: slidein 100s;

//     -webkit-animation-fill-mode: forwards;
//     animation-fill-mode: forwards;

//     -webkit-animation-iteration-count: infinite;
//     animation-iteration-count: infinite;

//     -webkit-animation-direction: alternate;
//     animation-direction: alternate;
//     background-color: #e6e6e631;
// }

// @-webkit-keyframes slidein {
//     from {
//         background-position: top;
//         background-size: 3000px;
//     }

//     to {
//         background-position: -100px 0px;
//         background-size: 2750px;
//     }
// }

// @keyframes slidein {
//     from {
//         background-position: top;
//         background-size: 3000px;
//     }

//     to {
//         background-position: -100px 0px;
//         background-size: 2750px;
//     }

// }


/* YAP: Yazdırma CSS - Menüleri ve gereksiz elementleri gizle */
@media print {
  /* Menüleri gizle */
  nz-sider,
  .ant-layout-sider,
  nz-header,
  .ant-layout-header,
  nz-footer,
  .ant-layout-footer,
  .ui.menu,
  .ui.sidebar,
  nav,
  header,
  footer,
  .no-print {
    display: none !important;
  }

  /* Layout düzenlemeleri */
  body {
    margin: 0 !important;
    padding: 0 !important;
    background: white !important;
  }

  /* Ana içeriği genişlet */
  .ant-layout,
  .ant-layout-content,
  .ui.container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Sadece yazdırma içeriğini göster */
  .yazdirma-icerik,
  .print-only {
    display: block !important;
  }

  /* Scroll'u kaldır */
  * {
    overflow: visible !important;
  }
}

/* ========================================
   CDK Overlay Z-Index - Fallback değerler
   Dinamik z-index FikoDialogService.overlayZIndexAl() ile JS tarafında ayarlanır
   Bu CSS değerleri sadece fallback olarak kullanılır
   ======================================== */
.cdk-overlay-container {
  z-index: 2000 !important;
}

.cdk-overlay-pane {
  z-index: 2001 !important;
}

/* Semantic UI Modal - Fallback */
.ui.modals.dimmer {
  z-index: 1999 !important;
}

.ui.modal.visible.active {
  z-index: 2000 !important;
}

/* Fiko Sağ Tuş Menüsü - Dinamik z-index JS'de ayarlanır */
.fiko-sag-menu-overlay {
  z-index: 2002 !important;
}
