/* Template Name: Techotlist - Tailwind CSS Multipurpose Landing & Admin Dashboard Template
   Author: Shreethemes
   Email: support@shreethemes.in
   Website: https://shreethemes.in
   Version: 2.2.1
   Created: May 2022
   File: Main Css File
*/
// @import 'simplebar/dist/simplebar.min.css';
// @import 'apexcharts/dist/apexcharts.css';

@import 'simplebar/dist/simplebar.min.css';
@import 'apexcharts/dist/apexcharts.css';


@tailwind base;
@tailwind components;
@tailwind utilities;

// FONTS
@import "custom/fonts";

// general
@import "custom/general";

// structure
@import "custom/structure/topnav";
@import "custom/structure/footer";

// pages
@import "custom/pages/helper";
@import "custom/pages/hero";
@import "custom/pages/countdown";
@import "custom/pages/portfolio";
@import "custom/pages/contact";

// Plugins
@import "custom/plugins/testi";
@import "custom/plugins/calendar";
@import "custom/plugins/ckeditor";
@import "custom/plugins/apexchart";
@import "custom/plugins/swiper-slider";
@import "custom/plugins/choices";
@import "custom/plugins/datepicker";
@import "@flaticon/flaticon-uicons/css/all/all.css";
@import url('https://cdn-uicons.flaticon.com/3.0.0/uicons-solid-chubby/css/uicons-solid-chubby.css');
@import url('https://cdn-uicons.flaticon.com/3.0.0/uicons-solid-rounded/css/uicons-solid-rounded.css');
@import '@chit-chat/ngx-emoji-picker/styles/core.css';

.auth-logo {
   width: 50% !important;
}

.bg-indigo-600 {
   --tw-bg-opacity: 1 !important;
   background-color: #0dc0ce !important;
   border-color : #0dc0ce !important;
}

.bg-blue-600 {
   --tw-bg-opacity: 1 !important;
   background-color: #2563EB !important;
   border-color : #2563EB !important;
}

.bg-primary-color{
   --tw-bg-opacity: 1 !important;
   background-color: #1193D4 !important;
   border-color : #1193D4 !important;
   color:white;
} 

.bg-outline-color {
  --tw-bg-opacity: 1 !important;
  border: 1px solid #1193D4;
  border-color: #1193D4 !important;
  color: #1193D4 !important;
  background-color: transparent;

  &:hover {
    --tw-bg-opacity: 1 !important;
    background-color: #1193D4 !important;
    border-color: #1193D4 !important;
    color: white !important;
  }

  &:disabled,
  &[disabled] {
    border: 1px solid #9ca3af !important;   // gray-400
    color: #9ca3af !important;
    background-color: #f3f4f6 !important;   // gray-100
    cursor: not-allowed;
    opacity: 0.6;

    // disable hover styles
    &:hover {
      background-color: #f3f4f6 !important;
      border-color: #9ca3af !important;
      color: #9ca3af !important;
    }
  }
}


.text-primary{
   color: #1193D4 !important;
}

.bg-techotlist-theme {
  @apply bg-gradient-to-r from-[#1193D4] to-teal-400;
  background: linear-gradient(
    to right,
    #1193D4 25%,
    #2DD4BF 100%
  );
}


section{
   background-color: #EAF7FD !important;
}

.bg-light-theme{
   --tw-bg-opacity: 1 !important;
   background-color: #EAF7FD !important;
   border-color : #EAF7FD !important;
}
.bg-ultra-light-theme{
   --tw-bg-opacity: 1 !important;
   background-color: #F5FBFE !important;
   border-color : #F5FBFE !important;
}

.bg-techotlist-theme-share{
   @apply bg-gradient-to-r from-emerald-500 to-teal-400
}

.bg-techotlist-theme-broadcast{
   @apply bg-gradient-to-r from-gray-500 to-teal-400
}

input[type="submit"]:disabled {
   background-color: #A5B4FC; /* A lighter shade of the enabled state */
   border-color: #A5B4FC;     /* Match the border color to the disabled background */
   cursor: not-allowed;       /* Show a 'not-allowed' cursor */
   opacity: 0.6;              /* Add some transparency to indicate disabled state */
 }


/* Styles for the disabled state */
button:disabled {
   background-color: #A5B4FC; /* A lighter shade of the enabled state */
   border-color: #A5B4FC;     /* Match the border color to the disabled background */
   cursor: not-allowed;       /* Show a 'not-allowed' cursor */
   opacity: 0.6;              /* Add some transparency to indicate disabled state */
}

/* Optional: Ensure the hover effect is removed when disabled */
button:disabled:hover {
   background-color: #d1d5db; /* Ensure background color remains the same */
   border-color: #d1d5db; /* Ensure border color remains the same */
}

.required {
   color: red;
}

.pointer {
   cursor: pointer;
}
 

.bg-blue-500 {
   background-color: #2563EB !important;
}

/* Chrome, Safari, Edge, Opera */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type="number"] {
    -moz-appearance: textfield;
}

input:disabled,
select:disabled,
textarea:disabled {
  background-color: #f5f5f5; /* Light background */
  border-color: #ddd;        /* Gray border */
  color: #666;               /* Text color */
  cursor: not-allowed;
}



 
 .form-control {
  -webkit-appearance: auto;
  appearance: auto;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0;
  font-size: 14px;
  padding: .25rem;
}

.form-group select {
  -webkit-appearance: auto;
  appearance: auto;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0;
  font-size: 14px;
  padding: .25rem;
}
 
.container {
  @apply bg-gradient-to-br from-[#F4F7FE] to-teal-50
}


.page-wrapper{
   @apply bg-gradient-to-br from-[#F4F7FE] to-teal-50
}
 
 
.card {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 20px rgba(17, 147, 212, 0.35);
}

.border-primary {
  border-color: #1193D4 !important;
}

.shadow-custom{
   box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.shadow-custom:hover{
   transform: translateY(-3px) !important;
  box-shadow: 0 8px 20px rgba(17, 147, 212, 0.35);
}
/* Position toast at right top */
.p-toast {
  top: 20px !important;
  right: 20px !important;
  left: auto !important;
  transform: none !important;
  width: auto !important;
}

.p-toast-message {
  max-width: 350px !important;
  min-width: 280px !important;
  padding: 0.75rem 1rem !important;
  box-sizing: border-box !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
}

/* Toast content layout */
.p-toast-message .p-toast-message-content {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

/* Toast text container */
.p-toast-message .p-toast-message-text {
  flex: 1 !important;
  min-width: 0 !important;
}

/* Smaller icon (checkmark/tick) */
.p-toast-message-icon {
  width: 20px !important;
  height: 20px !important;
  font-size: 20px !important;
  flex-shrink: 0 !important;
}

/* Toast text */
.p-toast-summary {
  font-weight: 500 !important;
  margin-bottom: 0 !important;
  white-space: normal !important;
  word-break: break-word !important;
  text-align: left !important;
}

.p-toast-detail {
  white-space: normal !important;
  word-break: break-word !important;
  text-align: left !important;
  opacity: 0.9 !important;
  margin-top: 2px !important;
}

/* Close button */
.p-toast-icon-close {
  flex-shrink: 0 !important;
  margin-left: 4px !important;
}

.p-toast-icon-close,
.p-toast-icon-close .p-icon {
  width: 18px !important;
  height: 18px !important;
  font-size: 18px !important;
}

/* Mobile styles */
@media (max-width: 480px) {
  /* Center toast on small screens */
  .p-toast {
    left: 50% !important;
    transform: translateX(-50%) !important;
    right: auto !important;
    top: 20px !important;
    width: calc(100% - 40px) !important;
    max-width: 300px !important;
  }

  /* Adjust toast width for mobile */
  .p-toast-message {
    max-width: 100% !important;
    min-width: 100% !important;
    padding: 12px 14px !important;
    font-size: 13px !important;
  }

  /* Mobile content layout */
  .p-toast-message .p-toast-message-content {
    gap: 8px !important;
  }

  /* Smaller icon on mobile */
  .p-toast-message-icon {
    width: 18px !important;
    height: 18px !important;
    font-size: 18px !important;
  }

  /* Smaller close icon on mobile */
  .p-toast-icon-close,
  .p-toast-icon-close .p-icon {
    width: 16px !important;
    height: 16px !important;
    font-size: 16px !important;
  }

  /* Adjust text sizing */
  .p-toast-summary {
    font-size: 13px !important;
    line-height: 1.35 !important;
  }

  .p-toast-detail {
    font-size: 12px !important;
    line-height: 1.35 !important;
  }
}

@media (max-width: 320px) {
  .p-toast {
    max-width: 260px !important;
  }

  .p-toast-message {
    padding: 10px 12px !important;
    font-size: 12px !important;
  }

  .p-toast-message-icon {
    width: 16px !important;
    height: 16px !important;
    font-size: 16px !important;
  }

  .p-toast-icon-close,
  .p-toast-icon-close .p-icon {
    width: 14px !important;
    height: 14px !important;
    font-size: 14px !important;
  }
}

.text-techotlist-theme {
  @apply bg-gradient-to-r from-emerald-500 to-teal-400 bg-clip-text text-transparent;
}


/* =========================
   TOUR CARD
========================= */

.driver-popover {
  border-radius: 12px;
  padding: 20px;
  font-family: Inter, sans-serif;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* =========================
   STEP TEXT
========================= */

.tour-step {
  color: #1193d4;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
}

/* =========================
   TITLE
========================= */

.driver-popover-title {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #1f2937 !important;
  margin-bottom: 8px;
}

/* =========================
   DESCRIPTION
========================= */

.driver-popover-description {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 14px;
}

/* =========================
   CTA BOX
========================= */

.tour-cta {
  background: rgba(17,147,212,0.12);
  border: 1px solid rgba(17,147,212,0.35);
  padding: 12px;
  border-radius: 8px;
  color: #1193d4;
  font-weight: 500;
}

/* =========================
   FOOTER LAYOUT
========================= */

.driver-popover-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

/* =========================
   SKIP TOUR
========================= */

.tour-skip {
  font-size: 14px;
  color: #6b7280;
  cursor: pointer;
  margin-right: auto;
  white-space: nowrap;
}

.tour-skip:hover {
  opacity: 0.8;
  text-decoration: none;
}

/* =========================
   REMOVE DEFAULT STEP TEXT
========================= */

.driver-popover-progress-text {
  display: none !important;
}

/* =========================
   PROGRESS BAR
========================= */

.driver-progress-bar {
  height: 4px;
  border-radius: 4px;
  background: #e5e7eb;
}

.driver-progress-bar-inner {
  background: #1193d4 !important;
}

/* =========================
   BUTTON BASE FIX
========================= */

.driver-popover-footer button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transform: none !important;
  filter: none !important;
  box-shadow: none !important;
  transition: background 0.2s ease;
  font-family: inherit;
  line-height: 1;
}

/* =========================
   BACK BUTTON
========================= */

.driver-popover-prev-btn {
  background: #f3f4f6 !important;
  color: #374151 !important;
  border-radius: 8px !important;
  padding: 10px 18px !important;
  border: none !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  min-width: 80px;
}

.driver-popover-prev-btn:hover {
  background: #e5e7eb !important;
}

/* =========================
   NEXT BUTTON
========================= */

.driver-popover-next-btn {
  background: #1193d4 !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  padding: 10px 22px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  border: none !important;
  min-width: 90px;
}

.driver-popover-next-btn:hover {
  background: #0f82bc !important;
}

/* =========================
   REMOVE BUTTON BLUR
========================= */

.driver-popover-next-btn:focus,
.driver-popover-prev-btn:focus {
  outline: none !important;
  box-shadow: none !important;
}



/* =========================
   PROGRESS BAR CONTAINER
========================= */

.driver-popover-progress {
  width: 100%;
  margin-top: 12px;
  display: flex;
  gap: 6px;
}

/* =========================
   PROGRESS SEGMENTS
========================= */

.driver-popover-progress span {
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: #e5e7eb;
}

/* active segments */

.driver-popover-progress span.driver-active {
  background: #1193d4;
}
/* Blue highlight box */

.tour-highlight-box {
  margin-top: 14px;
  padding: 12px 14px;
  background: #eaf4fb;
  border: 1px solid #9ec6e6;
  border-radius: 8px;
  color: #1193d4;
  font-size: 14px;
  font-weight: 500;
}
.tour-brand {
  color: #1193d4;
  font-weight: 700;
}

.techotlist-theme-text {
  background: linear-gradient(to right, #1193D4 25%, #2DD4BF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}