body {
    font-family: 'Inter Regular', 'Roboto', sans-serif;
  }

  /* Styl pro černé kolečko slideru */
  input[type=range].slider-thumb-black::-webkit-slider-thumb {
    appearance: none;
    height: 18px;
    width: 18px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    margin-top: 0px; /* zarovnání na střed tracku */
    border: 3px solid #000; /* přidání okraje pro lepší viditelnost */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255,255,255,0.1); /* jemný stín pro lepší viditelnost */
    transition: all 0.2s ease-in-out;
  }
  
  input[type=range].slider-thumb-black::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), 0 0 0 2px rgba(59, 130, 246, 0.5);
  }
  
  input[type=range].slider-thumb-black::-moz-range-thumb {
    height: 18px;
    width: 18px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    border: 3px solid #000; /* přidání okraje pro lepší viditelnost */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255,255,255,0.1); /* jemný stín pro lepší viditelnost */
    transition: all 0.2s ease-in-out;
  }
  
  input[type=range].slider-thumb-black::-moz-range-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), 0 0 0 2px rgba(59, 130, 246, 0.5);
  }

  

  /* Animace pro formulář */
  @keyframes slideUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  .temperature-slider {
    background: linear-gradient(90deg, #3b82f6 0%, #ef4444 100%);
  }
  
  .animate-fade-in {
    animation: fadeIn 0.8s ease-out;
  }
  
  /* Smooth hover efekt pro form prvky */
  .form-element {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
    /* Pulzující efekt pro loading */
  .pulse-slow {
    animation: pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  }
  
  /* Vlastní styling pro select boxy */
  .custom-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
  }
  
  .custom-select:hover {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%233b82f6' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  }
  
  .custom-select:focus {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%233b82f6' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  }
    .custom-select:disabled {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%9ca3af' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  }
  
  /* Speciální styling pro language selector s position absolute */
  .language-select {
    background-image: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
  }
  
  /* Animace pro rozdělovník */
  @keyframes slideInFromTop {
    from {
      opacity: 0;
      transform: translateY(-20px) scale(0.95);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }
  
  @keyframes slideOutToTop {
    from {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
    to {
      opacity: 0;
      transform: translateY(-20px) scale(0.95);
    }
  }
  
  @keyframes slideInFromBottom {
    from {
      opacity: 0;
      transform: translateY(50px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .selector-enter {
    animation: slideInFromTop 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
  
  .selector-exit {
    animation: slideOutToTop 0.4s cubic-bezier(0.55, 0.085, 0.68, 0.53);
  }
  
  .form-enter {
    animation: slideInFromBottom 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
  
  .calculator-option {
    background: #fff;
    border: 2px solid #e5e7eb; /* Tailwind gray-200 */
    border-radius: 1rem; /* 16px */
    padding: 1.5rem; /* 24px */
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), 
                box-shadow 0.3s ease,
                background-color 0.3s ease,
                border-color 0.3s ease;
    will-change: transform, box-shadow;
    box-shadow: 0 1px 4px rgb(0 0 0 / 0.05);
  }

  .calculator-option:hover {
    transform: translateY(-6px) scale(1.04);
    box-shadow: 0 8px 16px rgb(0 0 0 / 0.12);
    background-color: #f9fafb; /* jemný světlý background */
    border-color: #3b82f6; /* modrý accent */
  }

  .calculator-option.selected {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: white;
    transform: scale(1.07);
    box-shadow: 0 10px 25px rgb(59 130 246 / 0.5);
    border-color: transparent;
  }
  
  /* Ikony pro jednotlivé typy kalkulaček */
  .option-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: all 0.3s ease;
  }
  
  .option-icon-1 {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    color: white;
  }
  
  .option-icon-2 {
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    color: white;
  }
  
  .option-icon-3 {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
  }
  
  /* Modal styles */
  .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
  }
  
  .modal-content {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    min-width: 400px;
    max-width: 90vw;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: scale(1);
    animation: modalSlideIn 0.3s ease-out;
  }
  
  @keyframes modalSlideIn {
    from {
      opacity: 0;
      transform: scale(0.9) translateY(-20px);
    }
    to {
      opacity: 1;
      transform: scale(1) translateY(0);
    }
  }
  
  /* Modal styles */
  .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
  }
  
  .modal-content {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    animation: slideInFromBottom 0.3s ease-out;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  }
  
  @keyframes modalSlideIn {
    from {
      opacity: 0;
      transform: translateY(50px) scale(0.95);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }
  
  /* Enhanced range slider styles */
  .temperature-slider {
    background: linear-gradient(90deg, #3b82f6 0%, #ef4444 100%);
    border-radius: 8px;
    height: 8px;
  }
  
  .range-slider-container {
    position: relative;
  }
  
  .range-value-display {
    position: absolute;
    top: -35px;
    background: #1f2937;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
  }
  
  .range-value-display::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: #1f2937;
  }
  
  .range-slider-container:hover .range-value-display,
  .range-slider-container:focus-within .range-value-display {
    opacity: 1;
  }
  
  /* Success animation styles */
  .success-animation {
    animation: bounceIn 0.6s ease-out;
  }
  
  .success-icon {
    animation: pulse 2s infinite;
  }
  
  @keyframes bounceIn {
    0% {
      opacity: 0;
      transform: scale(0.3) translateY(-50px);
    }
    50% {
      opacity: 1;
      transform: scale(1.05) translateY(-10px);
    }
    70% {
      transform: scale(0.95) translateY(0);
    }
    100% {
      opacity: 1;
      transform: scale(1) translateY(0);
    }
  }
  
  @keyframes pulse {
    0%, 100% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.05);
    }
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  @keyframes slideInFromBottom {
    from {
      opacity: 0;
      transform: translateY(50px) scale(0.95);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }