@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');
@import 'tailwindcss';

@custom-variant dark (&:is(.dark *));



/* ── LIGHT THEME (default) ── */
:root {
  --background: oklch(0.98 0.005 250);
  --foreground: oklch(0.18 0.01 250);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.18 0.01 250);
  --popover: oklch(1 0 0);
  --popover-foreground: oklch(0.18 0.01 250);
  --primary: #0084A5;
  --primary-foreground: oklch(0.98 0.005 250);
  --secondary: oklch(0.93 0.008 250);
  --secondary-foreground: oklch(0.25 0.01 250);
  --muted: oklch(0.95 0.006 250);
  --muted-foreground: oklch(0.50 0.01 250);
  --accent: #0084A5;
  --accent-foreground: oklch(0.18 0.01 250);
  --destructive: oklch(0.55 0.18 25);
  --destructive-foreground: oklch(0.98 0.005 250);
  --border: oklch(0.88 0.01 250);
  --input: oklch(0.93 0.008 250);
  --ring: #0084A5;
  --chart-1: oklch(0.55 0.12 195);
  --chart-2: oklch(0.65 0.12 60);
  --chart-3: oklch(0.55 0.12 145);
  --chart-4: oklch(0.60 0.10 280);
  --chart-5: oklch(0.62 0.12 30);
  --radius: 0.625rem;
  --sidebar: oklch(0.97 0.006 250);
  --sidebar-foreground: oklch(0.18 0.01 250);
  --sidebar-primary: #0084A5;
  --sidebar-primary-foreground: oklch(0.98 0.005 250);
  --sidebar-accent: oklch(0.93 0.008 250);
  --sidebar-accent-foreground: oklch(0.25 0.01 250);
  --sidebar-border: oklch(0.88 0.01 250);
  --sidebar-ring: #0084A5;
  --glow-primary: oklch(0.55 0.12 195 / 0.15);
  --glow-accent: oklch(0.65 0.12 60 / 0.15);
  --glass: oklch(1 0 0 / 0.90);
}

/* ── DARK THEME ── */
.dark {
  --background: oklch(0.14 0.01 250);
  --foreground: oklch(0.95 0.005 250);
  --card: oklch(0.17 0.012 250);
  --card-foreground: oklch(0.95 0.005 250);
  --popover: oklch(0.15 0.01 250);
  --popover-foreground: oklch(0.95 0.005 250);
  --primary: #0084A5;
  --primary-foreground: oklch(0.98 0.005 250);
  --secondary: oklch(0.23 0.015 250);
  --secondary-foreground: oklch(0.90 0.005 250);
  --muted: oklch(0.21 0.012 250);
  --muted-foreground: oklch(0.60 0.01 250);
  --accent: #0084A5;
  --accent-foreground: oklch(0.15 0.01 250);
  --destructive: oklch(0.55 0.18 25);
  --destructive-foreground: oklch(0.95 0.005 250);
  --border: oklch(0.28 0.015 250);
  --input: oklch(0.21 0.012 250);
  --ring: oklch(0.65 0.10 195);
  --chart-1: oklch(0.65 0.10 195);
  --chart-2: oklch(0.72 0.12 60);
  --chart-3: oklch(0.60 0.12 145);
  --chart-4: oklch(0.65 0.10 280);
  --chart-5: oklch(0.70 0.12 30);
  --radius: 0.625rem;
  --sidebar: oklch(0.15 0.01 250);
  --sidebar-foreground: oklch(0.95 0.005 250);
  --sidebar-primary: #0d4857;
  --sidebar-primary-foreground: oklch(0.98 0.005 250);
  --sidebar-accent: oklch(0.23 0.015 250);
  --sidebar-accent-foreground: oklch(0.95 0.005 250);
  --sidebar-border: oklch(0.30 0.02 250);
  --sidebar-ring: oklch(0.65 0.10 195);
  --glow-primary: oklch(0.65 0.10 195 / 0.25);
  --glow-accent: oklch(0.72 0.12 60 / 0.25);
  --glass: oklch(0.18 0.012 250 / 0.85);
}

@theme inline {
  --font-sans: 'Space Grotesk', 'Geist Fallback';
  --font-mono: 'Geist Mono', 'Geist Mono Fallback';
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --color-card: var(--card);
  --color-card-foreground: var(--card-foreground);
  --color-popover: var(--popover);
  --color-popover-foreground: var(--popover-foreground);
  --color-primary: var(--primary);
  --color-primary-foreground: var(--primary-foreground);
  --color-secondary: var(--secondary);
  --color-secondary-foreground: var(--secondary-foreground);
  --color-muted: var(--muted);
  --color-muted-foreground: var(--muted-foreground);
  --color-accent: var(--accent);
  --color-accent-foreground: var(--accent-foreground);
  --color-destructive: var(--destructive);
  --color-destructive-foreground: var(--destructive-foreground);
  --color-border: var(--border);
  --color-input: var(--input);
  --color-ring: var(--ring);
  --color-chart-1: var(--chart-1);
  --color-chart-2: var(--chart-2);
  --color-chart-3: var(--chart-3);
  --color-chart-4: var(--chart-4);
  --color-chart-5: var(--chart-5);
  --radius-sm: calc(var(--radius) - 4px);
  --radius-md: calc(var(--radius) - 2px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 4px);
  --color-sidebar: var(--sidebar);
  --color-sidebar-foreground: var(--sidebar-foreground);
  --color-sidebar-primary: var(--sidebar-primary);
  --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
  --color-sidebar-accent: var(--sidebar-accent);
  --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
  --color-sidebar-border: var(--sidebar-border);
  --color-sidebar-ring: var(--sidebar-ring);
}

@layer base {
  * {
    @apply border-border outline-ring/50;
  }
  body {
    @apply bg-background text-foreground;
  }
}

input[type="radio"] {
  background-color: transparent;
  border: 1px solid #9ca3af; /* gray */
}

/* Radio button styling */
input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border: 1.5px solid #d1d5db;
  border-radius: 50%;
  background-color: white !important;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
}

input[type="radio"]:checked {
  border-color: #0084a5;
  background-color: white !important;
}

input[type="radio"]:checked::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #0084a5;
}

input[type="radio"]:hover {
  border-color: #0084a5;
}

/* Dark mode mein bhi white background maintain karne ke liye */
.dark input[type="radio"] {
  background-color: white !important;
  border-color: #9ca3af;
}

.dark input[type="radio"]:checked {
  background-color: white !important;
  border-color: #0084a5;
}


/* Custom Checkbox Styling */
input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border: 1.5px solid #d1d5db;
  border-radius: 4px;
  background-color: white !important;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
}

input[type="checkbox"]:checked {
  border-color: #0084a5;
  background-color: #0084a5 !important;
}

input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
}

input[type="checkbox"]:hover {
  border-color: #0084a5;
}

/* Dark mode mein white background maintain karne ke liye */
.dark input[type="checkbox"] {
  background-color: white !important;
  border-color: #9ca3af;
}

.dark input[type="checkbox"]:checked {
  background-color: #0084a5 !important;
  border-color: #0084a5;
}
/* Custom utilities for professional design */
@layer utilities {
  .glow-primary {
    box-shadow: 0 0 12px var(--glow-primary);
  }
  .glow-accent {
    box-shadow: 0 0 12px var(--glow-accent);
  }
  .glow-text-primary {
    text-shadow: 0 0 8px var(--glow-primary);
  }
  .glow-text-accent {
    text-shadow: 0 0 8px var(--glow-accent);
  }
  .glass {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
  .glass-border {
    border: 1px solid var(--border);
  }
  .gradient-border {
    background: linear-gradient(var(--card), var(--card)) padding-box,
                linear-gradient(135deg, var(--primary), var(--accent)) border-box;
    border: 1px solid transparent;
  }
  .animate-pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
  }
  @keyframes pulse-glow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
  }
  .text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .animate-float {
    animation: float 6s ease-in-out infinite;
  }
  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
  }
  .animate-glow-pulse {
    animation: glow-pulse 4s ease-in-out infinite;
  }
  @keyframes glow-pulse {
    0%, 100% { box-shadow: 0 0 8px var(--glow-primary); }
    50% { box-shadow: 0 0 16px var(--glow-primary); }
  }
  .line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

@import "tailwindcss";


body {
  font-family: 'Space Grotesk', sans-serif;
}

input {
  font-size: 13px !important;
}

.anchor_tag {
  text-decoration: none;
  color: #0084A5;
  font-size: 13px;
  transition: all 0.3s ease;
}

.anchor_tag:hover {
  text-decoration: underline !important;
}

.submit_button {
  width: 50%;
  margin: 0 auto !important;
  background: #0084A5;
  padding: 3px 0;
  text-align: center;
  color: #fff;
  font-size: 16px !important;
  font-weight: 400;
  border-radius: 16px;
  transition: all 0.3s ease;
  display: block;
}

.submit_button:hover {
  background: #006987;
}

.submit_button_1 {
  width: 170px;
  padding: 8px 0;
}

.video_image {
  width: 100%;
  height: 160px;
background-image: url("/bg_img.svg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.register_link a {
  text-decoration: none;
  color: #006987;
  font-weight: 600;
}

.register_link {
  font-size: 13px !important;
}

.footer_link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer_link a {
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  color: #1E222A !important;
}

.auth-form {
  max-width: 440px;
}

.quote {
  margin-bottom: 10px;
}

@media screen and (max-width: 768px) {
  .auth-form {
    position: relative;
    right: inherit;
    bottom: inherit;
    margin: 0 auto;
  }

}

@media screen and (min-width: 403px) and (max-width: 768px) {
  .right-quote {
    right: 0;
  }
}

@media screen and (min-width: 428px) and (max-width: 768px) {
  .left-quote {
    left: -30px;
  }
}


@media (max-width: 568px) {
  .submit_button_1 {
    width: 130px !important;
  }

  .register_link a {
    font-size: 14px !important;
  }

}
.captcha-wrapper svg {
  width: 90px !important;
  height: 32px !important;
}



@custom-variant dark (&:where(.dark, .dark *));

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.post-scrollbar {
  /* optional padding for inner content */
  padding-right: 4px;
}

/* For Webkit browsers (Chrome, Edge, Safari) */
.post-scrollbar::-webkit-scrollbar {
  width: 6px; /* scrollbar width */
}

.post-scrollbar::-webkit-scrollbar-track {
  background: #1f2937; /* dark track color */
  border-radius: 3px;
}

.post-scrollbar::-webkit-scrollbar-thumb {
  background-color: #4b5563; /* thumb color */
  border-radius: 3px;
  border: 1px solid #111827; /* optional border to match background */
}

.post-scrollbar::-webkit-scrollbar-thumb:hover {
  background-color: #6b7280; /* hover color */
}

/* For Firefox */
.post-scrollbar {
  scrollbar-width: thin;
  scrollbar-color: #4b5563 #1f2937; /* thumb track */
}

.my-idea-scroll-bar {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; 
}

.my-idea-scroll-bar::-webkit-scrollbar {
  display: none;
}

@keyframes likePop {
  0% { transform: scale(1); }
  50% { transform: scale(1.5); }
  100% { transform: scale(1); }
}

.animate-likePop {
  animation: likePop 0.5s ease-in-out;
}

@keyframes dislikePop {
  0% { transform: scale(1); }
  30% { transform: scale(1.3) rotate(-15deg); }
  50% { transform: scale(1.5) rotate(15deg); }
  100% { transform: scale(1) rotate(0deg); }
}

.animate-dislikePop {
  animation: dislikePop 0.5s ease-in-out;
}


/* Loader Default (Light Mode) */
.loader {
  width: 60px;
  aspect-ratio: 2;
  --loader-color: #000; /* black */
  --_g: no-repeat radial-gradient(circle closest-side, var(--loader-color) 90%, #0000);
  background:
    var(--_g) 0% 50%,
    var(--_g) 50% 50%,
    var(--_g) 100% 50%;
  background-size: calc(100%/3) 50%;
  animation: l3 1s infinite linear;
}

.dark .icon-inactive {
filter: invert(1);
 }

.dark .loader {
  --loader-color: #fff;  
}

@keyframes l3 {
    20%{background-position:0%   0%, 50%  50%,100%  50%}
    40%{background-position:0% 100%, 50%   0%,100%  50%}
    60%{background-position:0%  50%, 50% 100%,100%   0%}
    80%{background-position:0%  50%, 50%  50%,100% 100%}
}

.custom-scrollbar::-webkit-scrollbar {
  width: 6px; /* scrollbar width */
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: transparent; /* track color */
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background-color: #0084a5; /* thumb color */
  border-radius: 9999px; /* rounded thumb */
  border: 2px solid transparent; /* optional for spacing */
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background-color: #006f87; /* hover effect */
}

/* Hide scrollbar but keep functionality */
.no-scrollbar {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.no-scrollbar::-webkit-scrollbar {
  display: none;  /* Chrome, Safari and Opera */
}

/* Alternative: Thin transparent scrollbar */
.thin-scrollbar {
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}

.thin-scrollbar::-webkit-scrollbar {
  width: 4px;
}

.thin-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}

.thin-scrollbar::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

.thin-scrollbar::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.2);
}

/* Dark mode support */
.dark .thin-scrollbar::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.1);
}

.dark .thin-scrollbar::-webkit-scrollbar-thumb:hover {
  background-color: rgba(255, 255, 255, 0.2);
}


@keyframes highlight-border {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 132, 165, 0);
    border-color: rgba(0, 132, 165, 0.3);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(0, 132, 165, 0.3);
    border-color: rgba(0, 132, 165, 0.8);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 132, 165, 0);
    border-color: rgba(0, 132, 165, 0.3);
  }
}



/* Animation वाली classes हटाएं और permanent highlight classes रखें */
.permanent-highlight-like {
  border-color: #0084a5 !important;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.permanent-highlight-dislike {
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
