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

@layer components {
    .form-general-container {
        @apply flex min-h-full h-screen flex-col justify-center px-6 py-12 lg:px-8;
    }
    .form-title {
        @apply mt-10 text-center text-2xl font-bold leading-9 tracking-tight;
    }
    .form-wrapper {
        @apply mt-5 sm:mx-auto sm:w-full sm:max-w-sm;
    }
    .form-label {
        @apply block text-sm font-medium leading-6 ;
    }
    .form-field {
        @apply block w-full rounded-md border-0 py-1.5  shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:text-sm sm:leading-6;
    }
    .form-button {
        @apply w-full p-2 bg-blue-600 border-2 border-gray-300 rounded-md justify-center font-medium text-white hover:bg-blue-500 cursor-pointer;
    }
    .form-link {
        @apply mt-10 text-center text-base text-gray-500;
    }

    .header-nav-section-selected {
        @apply inline-flex items-center border-b-2 border-indigo-500 px-1 pt-1 text-sm font-medium text-gray-900;
    }
    .header-nav-section-notselected {
        @apply inline-flex items-center border-b-2 border-transparent px-1 pt-1 text-sm font-medium text-gray-500 hover:border-gray-300 hover:text-gray-700;
    }
    .header-nav-section-button {
        @apply relative inline-flex items-center gap-x-1.5 rounded-md bg-indigo-600 px-3 py-2 text-sm font-semibold text-white shadow-sm hover:bg-indigo-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600;
    }
    .header-nav-section-mobile-selected {
        @apply block border-l-4 border-indigo-500 bg-indigo-50 py-2 pl-3 pr-4 text-base font-medium text-indigo-700 sm:pl-5 sm:pr-6;
    }
    .header-nav-section-mobile-notselected {
        @apply block border-l-4 border-transparent py-2 pl-3 pr-4 text-base font-medium text-gray-500 hover:border-gray-300 hover:bg-gray-50 hover:text-gray-700 sm:pl-5 sm:pr-6;
    }

    .create-new-button {
        @apply relative inline-flex items-center rounded-md bg-indigo-600 px-3 py-2 text-sm font-semibold text-white shadow-sm hover:bg-indigo-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600;
    }

    .delete-new-button {
        @apply relative inline-flex items-center rounded-md bg-red-600 px-3 py-2 text-sm font-semibold text-white shadow-sm hover:bg-red-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-red-600;
    }

    .risk-field {
        @apply relative inline-flex items-center rounded-md px-3 py-2 text-sm font-semibold text-white shadow-sm;
    }
    
    .file-restore-enter {
        animation: file-restore-enter-animation ease-in-out 1s
    }
    
    @keyframes file-restore-enter-animation {
        0% {
            @apply opacity-0
        }
        100% {
            @apply opacity-100
        }
    }

    .file-restore-leave {
      animation: file-restore-leave-animation ease-in-out 1s forwards;
    }
    
    @keyframes file-restore-leave-animation {
      0% {
        @apply opacity-100;
      }
      100% {
        @apply opacity-0;
      }
    }

    .soter-custom-scroll {
        --tw-bg-opacity: 1;
        scrollbar-width: 5px;
        scrollbar-track-color: rgb(197 210 221 / var(--tw-bg-opacity));
        scrollbar-color: rgb(54 98 135 / var(--tw-bg-opacity));
    }
    .soter-custom-scroll:hover {
        scrollbar-color: rgb(12 44 77 / var(--tw-bg-opacity));
    }
    .soter-custom-scroll::-webkit-scrollbar {
        width: 5px;
    }
    .soter-custom-scroll::-webkit-scrollbar-track {
        background: rgb(197 210 221 / var(--tw-bg-opacity));
        border-radius: 5px;
    }
    .soter-custom-scroll::-webkit-scrollbar-thumb {
        background: rgb(54 98 135 / var(--tw-bg-opacity));
        border-radius: 5px;
    }
    .soter-custom-scroll::-webkit-scrollbar-thumb:hover {
        background: rgb(12 44 77 / var(--tw-bg-opacity));
    }

    .btn-primary {
        @apply py-2 px-4 bg-blue-200;
      }
    
      .form-title {
        @apply mt-4 text-center text-2xl font-bold leading-9 tracking-tight text-gray-900;
      }
    
      .form-label {
        @apply block text-sm font-medium leading-6 text-gray-900;
      }
    
      .form-custom-select {
        @apply block w-full rounded-md border-0 py-1.5 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-soter-light-blue sm:text-sm sm:leading-6;
      }
    
      .form-input-text {
        @apply block w-full rounded-md border-0 py-1.5 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-soter-light-blue sm:text-sm sm:leading-6;
      }
    
      .form-btn {
        @apply flex w-full justify-center rounded-md bg-soter-light-blue hover:bg-soter-blue px-3 py-1.5 text-sm font-semibold leading-6 text-white shadow-sm  focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-soter-blue hover:cursor-pointer lg:px-3;
      }
    
      .form-text-link {
        @apply text-sm text-gray-500 hover:underline;
      }
    
      .dashboard-side-panel-items {
        @apply text-soter-dark-blue hover:text-soter-dark-blue hover:bg-soter-gray flex gap-x-3 rounded-md p-2 text-sm leading-6 font-semibold;
      }
    
      .dashboard-form-label{
        @apply block text-sm font-medium leading-6 text-gray-900;
      }
    
      .dashboard-form-title {
        @apply text-2xl mb-5;
      }
    
      .notice-text {
        @apply text-sm font-medium text-green-800;
      }
    
      .panel-last-created {
        @apply text-xs font-medium text-gray-500 flex flex-col;
      }

      .tooltip-arrow {
        @apply bg-gray-900 dark:bg-gray-700 w-7 h-4 absolute -top-2;
      }

      .right-to-left-panel-pop {
        animation: right-to-left-panel-pop ease-in-out 0.5s forwards;
      }

      .left-to-right-panel-pop {
        animation: left-to-right-panel-pop ease-in-out 0.5s forwards;
      }

      .required {
        @apply after:content-['*'] after:ml-0.5 after:text-red-500
      }

      @keyframes right-to-left-panel-pop {
        0% {
          transform: translateX(100%);
        }
        100% {
          transform: translateX(0);
        }
      }

      @keyframes left-to-right-panel-pop {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(100%);
        }
      }

      .soter-access-box {
        @apply w-56 h-64 relative flex flex-col justify-center items-center gap-3 rounded-lg p-4;
      }
      .soter-input {
        @apply block w-full rounded-md px-3.5 py-2  shadow-sm  ring-inset placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-soter-light-blue;
      }

      .soter-input-with-icon {
        @apply col-start-1 row-start-1 block w-full rounded-md bg-white py-1.5 pl-10 pr-3 text-base text-gray-900 outline outline-1 -outline-offset-1 outline-gray-300 placeholder:text-gray-400 focus:outline focus:outline-2 focus:-outline-offset-2 focus:ring-soter-light-blue sm:pl-9 sm:text-sm/6;
      }

      html[data-theme="dark"] .soter-badge-purple {
        @apply inline-flex items-center rounded-full bg-purple-400/10 px-2 py-1 text-xs font-medium text-purple-400 ring-1 ring-inset ring-purple-400/30;
      }

      .soter-badge-purple {
        @apply inline-flex items-center rounded-full bg-purple-100 px-2 py-1 text-xs font-medium text-purple-700;
      }

      html[data-theme="dark"] .soter-badge-gray {
        @apply inline-flex items-center rounded-full bg-gray-400/10 px-2 py-1 text-xs font-medium text-gray-400 ring-1 ring-inset ring-gray-400/20;
      }

      .soter-badge-gray {
        @apply inline-flex items-center rounded-full bg-gray-100 px-2 py-1 text-xs font-medium text-gray-600;
      }

      html[data-theme="dark"] .soter-square-badge-gray {
        @apply inline-flex items-center rounded-md bg-gray-400/10 px-2 py-1 text-xs font-medium text-gray-400 ring-1 ring-inset ring-gray-400/20;
      }

      .soter-square-badge-gray {
        @apply inline-flex items-center gap-x-0.5 rounded-md bg-gray-50 px-2 py-1 text-xs font-medium text-gray-600 ring-1 ring-inset ring-gray-500/10;
      }

      html[data-theme="dark"] .soter-badge-yellow {
        @apply inline-flex items-center rounded-full bg-yellow-400/10 px-2 py-1 text-xs font-medium text-yellow-500 ring-1 ring-inset ring-yellow-400/20;
      }

      .soter-badge-yellow {
        @apply inline-flex items-center rounded-full bg-yellow-100 px-2 py-1 text-xs font-medium text-yellow-800;
      }

      html[data-theme="dark"] .soter-badge-red {
        @apply inline-flex items-center rounded-full bg-red-400/10 px-2 py-1 text-xs font-medium text-red-400 ring-1 ring-inset ring-red-400/20;
      }

      .soter-badge-red {
        @apply inline-flex items-center rounded-full bg-red-100 px-2 py-1 text-xs font-medium text-red-700;
      }

      html[data-theme="dark"] .soter-badge-green {
        @apply inline-flex items-center rounded-full bg-green-500/10 px-2 py-1 text-xs font-medium text-green-400 ring-1 ring-inset ring-green-500/20;
      }

      .soter-badge-green {
        @apply inline-flex items-center rounded-full bg-green-100 px-2 py-1 text-xs font-medium text-green-700;
      }

      html[data-theme="dark"] .soter-badge-blue {
        @apply inline-flex items-center rounded-full bg-blue-400/10 px-2 py-1 text-xs font-medium text-blue-400 ring-1 ring-inset ring-blue-400/30;
      }

      .soter-badge-blue {
        @apply inline-flex items-center rounded-full bg-blue-100 px-2 py-1 text-xs font-medium text-blue-700;
      }

      html[data-theme="dark"] .soter-badge-pink {
        @apply inline-flex items-center rounded-full bg-pink-400/10 px-2 py-1 text-xs font-medium text-pink-400 ring-1 ring-inset ring-pink-400/20;
      }

      .soter-badge-pink {
        @apply inline-flex items-center rounded-full bg-pink-100 px-2 py-1 text-xs font-medium text-pink-700;
      }

      html[data-theme="dark"] .soter-badge-indigo {
        @apply inline-flex items-center rounded-full bg-indigo-400/10 px-2 py-1 text-xs font-medium text-indigo-400 ring-1 ring-inset ring-indigo-400/30;
      }

      .soter-badge-indigo {
        @apply inline-flex items-center rounded-full bg-indigo-100 px-2 py-1 text-xs font-medium text-indigo-700;
      }

      html[data-theme="dark"] .soter-error {
        @apply rounded-md p-2 bg-red-400/10 text-red-400;
      }

      .soter-error {
        @apply rounded-md p-2 bg-red-50 text-red-700;
      }

      .soter-success {
        @apply rounded-md p-2 bg-green-50 text-green-700;
      }
      html[data-theme="dark"] .soter-success {
        @apply rounded-md p-2 bg-green-400/10 text-green-400;
      }
}



/*
@layer components {

}
*/
/* Variables */
:root {
	--hue: 210;
	--primary1: hsl(var(--hue), 74%, 62%);
	--primary3: hsl(var(--hue), 90%, 70%);
	--primary7: hsl(var(--hue), 90%, 30%);
	--primary9: hsl(var(--hue), 90%, 10%);
	--trans-dur: 0.3s;
}

.microchip {
  font-size: clamp(1rem, 0.8rem + 1vw, 2rem);
  display: block;
	margin: auto;
	width: 8em;
	height: auto;
}

.microchip__core,
.microchip__dot {
	fill: var(--primary7);
	transition: fill var(--trans-dur);
}

.microchip__center,
.microchip__wave {
	transform-origin: 25px 25px;
}

.microchip__center {
	animation-name: center-scale;
  animation-duration: 5s;
  animation-iteration-count: infinite;
  animation-timing-function: cubic-bezier(0.65,0,0.35,1);
}

.microchip__line,
.microchip__spark,
.microchip__wave {
	transition: stroke var(--trans-dur);
}

.microchip__line {
	stroke: var(--primary7);
}

.microchip__lines {
	animation-name: lines-scale;
  animation-duration: 5s;
  animation-iteration-count: infinite;
  animation-timing-function: cubic-bezier(0.65,0,0.35,1);
	transform-origin: 54px 54px;
}

.microchip__spark,
.microchip__wave {
	animation-timing-function: linear;
	stroke: var(--primary3);
}

.microchip__spark {
	animation: spark1;
  animation-duration: 5s;
  animation-iteration-count: infinite;
  animation-timing-function: cubic-bezier(0.65,0,0.35,1);
}

.microchip__wave {
	animation-name: wave-scale1;
  animation-duration: 5s;
  animation-iteration-count: infinite;
  animation-timing-function: cubic-bezier(0.65,0,0.35,1);
}

/* Animations */
@keyframes center-scale {
	from,
	to {
		transform: scale(0);
	}
	12.5%,
	75% {
		transform: scale(1);
	}
}

@keyframes dot-scale1 {
	from,
	20%,
	81.25%,
	to {
		transform: scale(0);
	}
	32.5%,
	68.75% {
		transform: scale(1);
	}
}

@keyframes dot-scale2 {
	from,
	10.5%,
	87.5%,
	to {
		transform: scale(0);
	}
	23%,
	75% {
		transform: scale(1);
	}
}

@keyframes line-draw1 {
	from,
	93.75%,
	to {
		stroke-dashoffset: 59;
	}
	25%,
	68.75% {
		stroke-dashoffset: 17;
	}
}

@keyframes line-draw2 {
	from,
	93.75%,
	to {
		stroke-dashoffset: 42;
	}
	25%,
	68.75% {
		stroke-dashoffset: 0;
	}
}

@keyframes lines-scale {
	from {
		opacity: 1;
		transform: scale(0);
	}
	12.5%,
	75% {
		opacity: 1;
		transform: scale(1);
	}
	93.75%,
	to {
		opacity: 0;
		transform: scale(0.5);
	}
}

@keyframes spark1 {
	from,
	27.5% {
		stroke-dashoffset: 59;
	}
	50%,
	52.5% {
		stroke-dashoffset: -25;
	}
	75%,
	to {
		stroke-dashoffset: -109;
	}
}

@keyframes spark2 {
	from,
	27.5% {
		stroke-dashoffset: 42;
	}
	50%,
	52.5% {
		stroke-dashoffset: -42;
	}
	75%,
	to {
		stroke-dashoffset: -126;
	}
}

@keyframes wave-scale1 {
	from,
	0%,
	25%,
	50%,
	75% {
		stroke-width: 6px;
		transform: scale(1);
	}
	10%,
	35%,
	60%,
	85%,
	to {
		stroke-width: 0;
		transform: scale(1.2);
	}
}

@keyframes wave-scale2 {
	from,
	5%,
	30%,
	55%,
	80% {
		stroke-width: 6px;
		transform: scale(1);
	}
	15%,
	40%,
	65%,
	90%,
	to {
		stroke-width: 0;
		transform: scale(1.2);
	}
}
html[data-theme="dark"] header #notification-bell-btn:hover, .theme-toggle-btn:hover {
  background-color: var(--soter-light-dark);
}

html[data-theme="dark"] header #dropdown > div:hover {
  background-color: var(--soter-light-dark);
}

html[data-theme="dark"] .soter-bento-box {
  background-color: var(--soter-light-dark);
  border: none;
  border-radius: 0.5rem;
}

html[data-theme="dark"] .soter-bento-box-header {
  border-bottom: 1px solid var(--soter-separator);
}

html[data-theme="dark"] .soter-monitor-box, html[data-theme="dark"] .soter-radio-btn-box, html[data-theme="dark"] .soter-stats > div {
  border: none;
}

html[data-theme="dark"] .soter-vm-pc {
  background-color: var(--soter-box-bg);
}

html[data-theme="dark"]  input[type="text"]:not(.soter-input-with-icon),
html[data-theme="dark"]  input[type="number"],
html[data-theme="dark"]  input[type="email"]:not(.soter-input-with-icon),
html[data-theme="dark"]  input[type="password"]:not(.soter-input-with-icon),
html[data-theme="dark"]  input[type="date"],
html[data-theme="dark"]  input[type="month"],
html[data-theme="dark"]  select {
  border: none;
}

html[data-theme="dark"] .plan-option.selected {
  border-color: var(--soter-blue); /* Blau */
  background-color: var(--soter-box-bg); /* Fons fosc */
  box-shadow: 0 0 10px rgba(86, 158, 230, 0.5); /* Ombra amb blau clar */
}
h2 {
  color: var(--soter-text-secondary);
}

header #notification-bell-btn:hover {
  background-color: var(--soter-light-dark);
}

header #dropdown > div:hover {
  background-color: var(--soter-light-dark);
}

.soter-bento-box {
  background-color: var(--soter-bg);
  border: 1px solid var(--soter-border);
  border-radius: 0.5rem;
}

.soter-monitor-box {
  border: 1px solid var(--soter-separator);
}

.soter-monitor-status {
  color: white;
}

nav.soter-left-sidebar a.selected {
  background-color: #EAEFF3;
  color: var(--soter-blue);
}

nav.soter-left-sidebar a:hover {
  background-color: #EAEFF3;
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

:root {
  --soter-bg: #ffffff;
  --soter-light-dark: #f4f7f9;
  --soter-box-bg: #ffffff;
  --soter-separator: #c5d2dd;
  --soter-blue: #569ee6;
  --soter-orange: #f0774a;
  --soter-red: #d43a54;
  --soter-errors-bg: #d43a5426;
  --soter-green: #00cda9;
  --soter-gray: #5e6c84;
  --soter-text: #000000;
  --soter-text-secondary: #5e6c84;
  --soter-border: #c5d2dd;
  --soter-nav-hover: #dee7ef;
}

:root[data-theme="dark"] {
  --soter-bg: #111828;
  --soter-light-dark: #1C2638;
  --soter-box-bg: #293447;
  --soter-separator: #5e6c84;
  --soter-blue: #569ee6;
  --soter-orange: #f0774a;
  --soter-red: #d43a54;
  --soter-errors-bg: #d43a5426;
  --soter-green: #00cda9;
  --soter-gray: #5e6c84;
  --soter-text: #ffffff;
  --soter-text-secondary: #ffffff;
  --soter-border: #c5d2dd;
  --soter-nav-hover: #293447;
}

@font-face {
  font-family: 'Poppins';
  font-weight: 400;
  font-style: normal;
  src: url(/assets/poppins-regular.ttf) format('truetype');
}

@font-face {
  font-family: 'Poppins';
  font-weight: 500;
  font-style: normal;
  src: url(/assets/poppins-medium.ttf) format('truetype');
}

@font-face {
  font-family: 'Poppins';
  font-weight: 600;
  font-style: normal;
  src: url(/assets/poppins-semibold.ttf) format('truetype');
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--soter-bg);
  color: var(--soter-text);
}

header {
  background-color: var(--soter-bg);
  padding: 0px 5px;
  font-size: 14px;
  border-bottom: 1px solid var(--soter-separator);
}

header #dropdown > div:hover {
  background-color: var(--soter-light-dark);
}

nav.navbar.mobile-menu {
  width: 100vw;
  border-radius: 0px;
  height: fit-content;
  position: absolute;
  top: 52px;
  left: -5px;
}

nav.navbar.mobile-menu ul {
  flex-direction: column;
  padding: 10px 0;
}

nav.navbar.mobile-menu ul li {
  padding: 0.25rem 0.5rem;
}

nav.navbar.mobile-menu ul .selected {
  color: var(--soter-blue);
}

nav.navbar {
  font-size: .855rem;
  position: relative;
  overflow: hidden;
  min-height: 35px;
  border-radius: 2rem;
  background-color: var(--soter-light-dark);
}

nav.navbar ul {
  position: relative;
  display: flex;
  gap: .025rem;
  padding: 5px;
  height: 100%;
}

nav a.menu-item {
  border-radius: 2rem;
  padding: 0 0.5rem;
  position: relative;
  z-index: 1;
  transition: color 0.3s ease-in-out;
}

nav a.menu-item::after {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--soter-nav-hover);
  border-radius: 2rem;
  transform: scaleX(0);
  transition: transform 0.3s ease-in-out;
}

nav a.menu-item:hover::after {
  transform: scaleX(1);
}

nav:not(.mobile-menu) a.menu-item.selected {
  padding: 0.25rem 0.5rem;
  color: white;
  background-color: var(--soter-blue);
}

.theme-toggle-btn svg:first-child {
  color: var(--soter-blue);
}

.theme-toggle-btn svg:last-child {
  color: var(--soter-orange);
}

.theme-toggle-btn svg {
  transition: transform 0.2s ease-in-out;
}

.theme-toggle-btn:active svg {
  transform: scale(0.8);
}

.soter-header-separator {
  height: 1.5rem;
  width: 1px;
  background-color: var(--soter-border);
  margin: 0 5px;
}

.soter-bento-box-header {
  width: 100%;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--soter-light-dark);
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
}

.soter-bento-box-body {
  background-color: var(--soter-box-bg);
}

.soter-stats > div {
  background-color: var(--soter-box-bg);
  border-radius: 0.5rem;
  border: 1px solid var(--soter-separator);
}

#static-sidebar-container-desktop {
  background-color: var(--soter-light-dark);
}

.soter-access-box {
  background-color: var(--soter-light-dark);
}

button.disabled {
  background-color: var(--soter-separator);
  cursor: not-allowed;
}

.btn {
  font-size: 14px;
  display: flex;
  align-items: center;
  border-radius: 2rem;
  padding: 8px 16px;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--soter-blue);
  color: white;
}

.btn-primary:hover:not(.disabled) {
  background-color: var(--soter-orange);
}

.btn:disabled:hover {
  cursor: not-allowed;
}

.btn-secondary {
  color: var(--soter-text);
  border: 1px solid var(--soter-border);
}

.btn-secondary:hover {
  color: var(--soter-orange);
  border: 1px solid var(--soter-orange);
}

.soter-link {
  color: var(--soter-blue);
  text-decoration: underline;
  text-underline-offset: 0.3rem;
}

.soter-link:hover {
  color: var(--soter-orange);
  cursor: pointer;
}

.soter-vm-pc {
  width: 180px;
  height: 12rem;
  border-radius: 0.5rem;
  background-color: var(--soter-light-dark);
}

#notifications-big-container {
  background-color: var(--soter-box-bg);
}

#info-panel {
  background-color: var(--soter-light-dark);
}

.soter-table-actions {
  width: 100%;
  max-width: 120px;
}

input[type="text"]:not(.soter-input-with-icon),
input[type="number"]:not(.soter-input-resources),
input[type="email"]:not(.soter-input-with-icon),
input[type="password"]:not(.soter-input-with-icon),
input[type="date"],
input[type="month"],
input[type="datetime-local"],
select {
  background-color: var(--soter-box-bg);
  border: none;
  border-radius: 0.5rem;
  padding: 0.5rem;
  font-size: 14px;
  border: 1px solid var(--soter-border);
}

input[type="radio"]:checked {
  background-color: var(--soter-blue);
} 

.soter-form {
  background-color: var(--soter-light-dark);
}

.soter-label {
  font-size: 14px;
}

.soter-separator {
  border-top: 1px solid var(--soter-separator);
  width: 100%;
  height: 1px;
}

.soter-monitor-box {
  background-color: var(--soter-box-bg);
  border-radius: 0.5rem;
}

.soter-monitor-box .soter-monitor-status {
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
  font-weight: bold;
  text-align: center;
  min-height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.soter-monitor-list .soter-monitor-status, .soter-monitor-dropdown-status {
  font-size: 12px;
  padding: 0.2rem 0.5rem;
  border-radius: 2rem;
} 

.soter-monitor-status.success, .soter-monitor-dropdown-status.success {
  background-color: var(--soter-green);
}

.soter-monitor-status.failed, .soter-monitor-dropdown-status.failed {
  background-color: var(--soter-red);
}

.soter-monitor-status.no-data {
  background-color: var(--soter-separator);
}

.soter-monitor-box-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 2rem;
  padding: 0.2rem 0.5rem;
}

.soter-monitor-dropdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.3rem;
  font-size: 14px;
  font-weight: bold;
  margin: 0.5rem 0;
  border-radius: 0.2rem;
  background-color: var(--soter-light-dark);
}

.soter-monitor-dropdown-header:hover {
  cursor: pointer;
  background-color: var(--soter-box-bg);
}

.soter-monitor-dropdown-header > span {
  color: var(--soter-blue);
}

.soter-monitor-views > a {
  padding: 5px;
}

.soter-monitor-views > a:hover {
  background-color: var(--soter-box-bg);
  border-radius: 2rem;
}

.soter-monitor-views .active {
  color: var(--soter-orange);
}

nav.soter-left-sidebar a.selected {
  background-color: var(--soter-box-bg);
  color: var(--soter-blue);
}

nav.soter-left-sidebar a:hover {
  background-color: var(--soter-box-bg);
}

.soter-popup, #content-virtualizacion {
  background-color: var(--soter-bg);
}

#content-virtualizacion > p:first-child {
  padding: 0.5rem 0;
  border-top: 1px solid var(--soter-separator);
  border-bottom: 1px solid var(--soter-separator);
}

.soter-dropdown {
  width: 14rem;
  position: absolute;
  right: 0;
  z-index: 10;
  margin-top: 0.5rem;
  transform-origin: top right;
  border-radius: 0.375rem;
  background-color: var(--soter-light-dark);
}

.soter-dropdown a {
  display: block;
}

.soter-dropdown a:hover, .soter-dropdown span:hover, .soter-dropdown .hover:hover {
  background-color: var(--soter-box-bg);
}

.soter-login-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: fill;
}

.soter-login-content {
  width: 28rem;
  z-index: 1;
  border-radius: 0.5rem;
  background-color: #111828B3;
  border: 0.5px solid #5e6c84;
  color: white;
  padding-bottom: 1rem;
}

.soter-login-content h2 {
  color: white;
}

.soter-login-content input {
  color: black;
}

.soter-login-content .btn {
  color: white;
}

.soter-login-content svg:not(.soter-eye) {
  fill: var(--soter-dark-blue);
}

.soter-eye {
  stroke: var(--soter-blue);
}

.soter-volid-list {
  border-radius: 0.5rem;
  padding: 0.5rem;
  font-size: 14px;
}

.soter-volid-list:hover {
  background-color: var(--soter-light-dark);
}

.soter-calendar-day-fragment-disabled {
  background-color: var(--soter-light-dark); 
}

.soter-calendar-day-fragment-success {
  background-color: var(--soter-green);
}

.soter-calendar-day-fragment {
  background-color: var(--soter-bg);
}

.soter-calendar-day-fragment:hover {
  background-color: var(--soter-light-dark);
}

.soter-login-logo {
  width: 100%;
  padding: 0.5rem 0;
  border-bottom: 1px solid #5e6c84;
}

.soter-login-logo img {
  max-width: 280px;
}

.soter-external-rdps-table {
  background-color: var(--soter-light-dark);
  border-radius: 0.5rem;
}

.soter-caidas {
  background-color: var(--soter-box-bg);
  border-radius: 0.5rem;
}

.soter-tab {
  font-size: 12px;
  padding: 0.5rem;
  color: var(--soter-text);
  border-radius: 0.5rem;
  white-space: nowrap;
}

.soter-tab.active {
  color: white;
  background-color: var(--soter-blue);
}

.soter-wizard {
  background-color: var(--soter-light-dark);
}

.soter-wizard fieldset {
  height: calc(100% - 3rem);
}

.soter-wizard-steps-header {
  background-color: var(--soter-light-dark);
  border-radius: 0.5rem;
}

.soter-wizard-steps-header .soter-step {
  color: var(--soter-blue);
}

.soter-wizard-steps-header .soter-step:hover {
  cursor: pointer;
  color: var(--soter-orange);
}

.soter-step-circle {
  color: var(--soter-blue);
  border: 2px solid var(--soter-blue);
}

.soter-step-circle:hover {
  color: var(--soter-orange);
  border: 2px solid var(--soter-orange);
}

.soter-alert {
  background-color: var(--soter-box-bg);
  border-radius: 0.5rem;
  position: relative;
  z-index: 30;
  width: 100%;
}

.soter-advanced-options-disabled {
  display: flex;
  align-items: center;
  justify-content: start;
  color: var(--soter-separator);
  cursor: not-allowed;
  padding: 0.25rem 0.5rem;
  font-size: 14px;
}

.soter-advanced-options {
  display: flex;
  align-items: center;
  justify-content: start;
  color: var(--soter-blue);
  padding: 0.25rem 0.5rem;
  font-size: 14px;
}

.soter-advanced-options.delete {
  color: var(--soter-red);
}

.soter-advanced-options:hover {
  cursor: pointer;
  color: var(--soter-orange);
}

.soter-notification .soter-advanced-options {
  padding: 0;
}

.soter-conexiones-externas:hover {
  background-color: var(--soter-light-dark);
}

#content-external-rdp > ul li, table tbody tr {
  border-top-width: calc(1px * calc(1 - 0));
  border-bottom-width: calc(1px * 0);
  border-color: var(--soter-separator);
}

.soter-radio-btn-box {
  position: relative;
  border-radius: 0.5rem;
  border: 1px solid var(--soter-border);
  background-color: var(--soter-box-bg);
  cursor: pointer;
}

.soter-radio-btn-box > div:last-child, .soter-pc-swap-machines > div:last-child, .soter-vm-pc > div:last-child {
  padding: 5px 10px;
  text-align: center;
  font-size: 14px;
  color: white;
  border-bottom-left-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
  background-color: var(--soter-orange);
}

.soter-pc-swap-machines {
  position: relative;
  z-index: 10;
  border-radius: 0.5rem;
  background-color: var(--soter-box-bg);
}

.soter-resource-has-especificaciones {
  min-height: 32rem;
  padding-left: 1.25rem;
  border-left: 1px solid var(--soter-separator);
}

.soter-notification {
  border-bottom: 1px solid var(--soter-separator);
}

.soter-notification:hover {
  background-color: var(--soter-light-dark);
}

.soter-notification.failed {
  background-color: #d43a5426;
}

.soter-notification.failed:hover {
  background-color: var(--soter-light-dark);
}

.soter-access-box:hover > svg {
  transform: scale(1.1);
  transition: transform 0.2s ease-in-out;
}

#notifications-drag-container {
  background-color: var(--soter-light-dark);
  border-top: 1px solid var(--soter-separator);
  border-bottom: 1px solid var(--soter-separator);
  padding: 0.35rem;
}


#slider-container > div {
  display: none;
  height: 350px;
  opacity: 0;
  transition: width 1s ease-in-out;
}

#slider-container > .active{
  display: block;
  width: 100%;
  opacity: 1;
}

#slider-container canvas {
  transition: all 1s ease-in-out;
}

.display-actions-menu {
  transition: all 0.3 ease-in-out;
  display: none;
}

.vm-name {
  top: 10px;
}

.notifications-container {
  max-height: 25rem;
}

.notification {
  animation: notification-pop 1s ease-in-out;
}

@keyframes notification-pop {
  0% {
    background-color: var(--soter-green);
  }
  100% {
    background-color: var(--soter-light-dark);
  }
}

.min-h-full-75 {
  min-height: 75vh;
}

.min-w-full-65 {
  min-width: 65%;
}

.checkbox-element:focus {
  box-shadow: none;
}

.h-screen-75 {
  height: 75vh;
}

.h-screen-60 {
  height: 60vh;
}

.h-screen-50 {
  height: 50vh;
}

.max-h-screen-60 {
  max-height: 60vh;
}

.iframe-soterwatch {
  height: calc(800px + 5rem);
  margin-top: -2.5rem;
  margin-bottom: -2.5rem;
  margin-left: -2rem;
  margin-right: -2rem;
  width: calc(100% + 4rem);
}

.calendar-day-fragment {
  transition: all .5s cubic-bezier(.4, 0,.2,1);
  animation: calendar_fragment_grow .8s ease-in-out;
  z-index: 1000;
}

@keyframes calendar_fragment_grow {
  0% {
    border-radius: .5rem;
    border: 1px solid rgb(179, 183, 190);
    transform: scale(1.2);
  }
  100% {
    border-radius: 0rem;
    border-color: rgba(179, 183, 190, 0);
    transform: scale(1);
  }
}

.soter-custom-range-select {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
}

/* Removes default focus */
.soter-custom-range-select:focus {
  outline: none;
}

/******** Chrome, Safari, Opera and Edge Chromium styles ********/
/* slider track */
.soter-custom-range-select::-webkit-slider-runnable-track {
  background-color: var(--soter-gray);
  border-radius: 0.5rem;
  height: 0.5rem;
}

/* slider thumb */
.soter-custom-range-select::-webkit-slider-thumb {
  -webkit-appearance: none; /* Override default look */
  appearance: none;
  margin-top: -4px; /* Centers thumb on the track */
  background-color: var(--soter-blue);
  border-radius: 0.5rem;
  height: 1rem;
  width: 1rem;
}

.soter-custom-range-select:focus::-webkit-slider-thumb {
  outline: 3px solid var(--soter-blue);
  outline-offset: 0.125rem;
}

/*********** Firefox styles ***********/
/* slider track */
.soter-custom-range-select::-moz-range-track {
  background-color: var(--soter-gray);
  border-radius: 0.5rem;
  height: 0.5rem;
}

/* slider thumb */
.soter-custom-range-select::-moz-range-thumb {
  background-color: var(--soter-blue);
  border: none; /*Removes extra border that FF applies*/
  border-radius: 0.5rem;
  height: 1rem;
  width: 1rem;
}

.soter-custom-range-select:focus::-moz-range-thumb{
  outline: 3px solid var(--soter-blue);
  outline-offset: 0.125rem;
}

.tooltip-arrow {
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  z-index: 5;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.soter-force-hidden {
  display: none !important;
}

.loader {
  width: 55px;
  aspect-ratio: 1;
  --g1:conic-gradient(from  90deg at 3px  3px ,#0000 90deg,var(--soter-blue) 0);
  --g2:conic-gradient(from -90deg at 22px 22px,#0000 90deg,var(--soter-blue) 0);
  background:var(--g1),var(--g1),var(--g1), var(--g2),var(--g2),var(--g2);
  background-size: 25px 25px;
  background-repeat: no-repeat;
  animation: loader-anim 1.5s infinite;
}
@keyframes loader-anim {
  0%   {background-position:0    0   ,0 100%,100% 100% }
  25%  {background-position:100% 0   ,0 100%,100% 100% }
  50%  {background-position:100% 0   ,0 0   ,100% 100% }
  75%  {background-position:100% 0   ,0 0   ,0    100% }
  100% {background-position:100% 100%,0 0   ,0    100% }
}

.main-div-max-size {
  max-height: calc(100vh - 4rem);
  height: calc(100vh - 4rem);
}

.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-inner {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-item {
  min-width: 100%;
  box-sizing: border-box;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 10;
  opacity: 50%;
  background-color: var(--soter-blue);
}


.arrow.left {
  left: 0px;
}

.arrow:hover {
  opacity: 100%;
  transition: all 0.3s ease-in-out;
}

.arrow.left:hover svg {
  transform: translateX(-5px);
  transition: all 0.3s ease-in-out;
}

.arrow.right {
  right: 0px;
}

.arrow.right:hover svg {
  transform: translateX(5px);
  transition: all 0.3s ease-in-out;
}

::-webkit-scrollbar:horizontal{
  height: 5px;
}

#notification-bell-dropdown {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  left: -370px;
  top: 40px;
  z-index: 100;
  width: 450px;
  max-height: 600px;
  overflow: hidden; /* Para evitar contenido visible mientras se anima */
  height: 0;
  transition: opacity 0.5s ease-in-out, height 0.5s ease-in-out;
}

#notification-bell-btn {
  position: relative;
}

#notification-bell-btn:hover svg {
  animation: bell-swing 0.75s ease-in-out;
}

@keyframes bell-swing {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-15deg);
  }
  50% {
    transform: rotate(0deg);
  }
  75% {
    transform: rotate(15deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

.turbo-progress-bar {
  visibility: hidden;
}

.scrolldown-btn {
  width: 50px;
  height: 100px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  text-align: center;
}

.scrolldown-btn svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
}

.first-path {
  animation: scrollanim 1s ease-in-out infinite;
  animation-delay: 0.8s;
}

.second-path {
  animation: scrollanim2 1s ease-in-out infinite;
}

@keyframes scrollanim {
  0% {
    transform: translate(0, -40px);
    opacity: 0;
  }
  60% {
    transform: translate(0, 0);
    opacity: 0.8;
  }
}

@keyframes scrollanim2 {
  0% {
    transform: translate(0, -40px);
    opacity: 0;
  }
  60% {
    transform: translate(0, 0);
    opacity: 0.6;
  }
}

#theme-form input[type='checkbox']{
  opacity: 0;
  display: none;
  visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
}

/* Calculadora */

.node {
  background-color: var(--soter-light-dark);
  padding: 1rem;
  border-radius: 0.5rem;
}

caption {
  text-align: left;
	background-color: var(--soter-light-dark);
}

.server {
  padding: 5px;
  background-color: var(--soter-box-bg);
  cursor: grab;
	display: flex;
	align-items: center;
	gap: .5rem;
	border-radius: .5rem;
	width: 100%;
	margin-bottom: .5rem;
}

.node-errors > p:first-child {
	color: var(--soter-red);
	font-size: 14px;
	padding: .5rem .25rem;
	background-color: var(--soter-errors-bg);
	border-radius: .5rem;
	margin-top: 1rem;
}

.plan-option.selected {
  border-color: var(--soter-blue); /* Blau */
  background-color: var(--soter-light-dark); /* Fons clar */
  box-shadow: 0 0 10px rgba(86, 158, 230, 0.5); /* Ombra amb blau clar */
}

.plan-option {
  padding: 1rem;
  border-radius: 0.5rem;
  background-color: var(--soter-box-bg);
}

.plan-option:hover {
  transform: translateY(-.5rem);
  transition: transform 0.3s ease-in-out;
}

.bg-base {
  background-color: var(--soter-light-dark);
}

.bg-base-light {
  background-color: var(--soter-box-bg);
}


tr.group:hover {
  background-color: var(--soter-light-dark);
}

tr.group-light:hover {
  background-color: var(--soter-box-bg);
}

tr.group td {
  max-height: 2.5rem;
}

a.sort_link {
  display: flex;
  align-items: center;
}

input[type="text"].soter-input-search {
  border-radius: 5rem;
  padding: 0.5rem 1rem;
}

input[type="text"].soter-input-search::placeholder {
  font-style: italic;
}

.soter-user-data-card {
  background-color: var(--soter-box-bg);
  border-radius: .5rem;
  padding: .5rem;
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  column-gap: .5rem;
  margin-bottom: 1rem;
}

.soter-user-data-card .card-icon {
  background-color: var(--soter-blue);
  border-radius: 5rem;
  padding: .5rem;
  margin-bottom: 1rem;
}

tr.checked {
  background-color: var(--soter-box-bg);
  border-left: 3px solid var(--soter-blue);
}

tr.checked td:nth-child(2) {
  color: var(--soter-blue);
  font-weight: bold;
}

progress {
  border-radius: .5rem;
  height: .3rem;
}
progress::-webkit-progress-bar {
  border-radius: .5rem;
}
progress::-webkit-progress-value {
  border-radius: .5rem;
  background-color: var(--soter-blue);
}
progress::-moz-progress-bar {
  border-radius: .5rem;
}

.soter-breadcrumbs li:last-child a {
  color: var(--soter-blue);
  font-weight: 600; /* Semibold */
}

.soter-breadcrumbs li a:hover {
  color: var(--soter-orange);
}

.soter-border-left {
  border-left: 1px solid var(--soter-separator);
}

.soter-border-bottom {
  border-bottom: 1px solid var(--soter-separator);
}

.soter-tenant-table > div:nth-child(-n+6) {
  align-self: flex-end;
  text-align: left;
  font-size: 600;
  border-bottom: 1px solid var(--soter-separator);
}

.soter-tenant-table .childrens > .tenant-row:hover > div {
  background-color: var(--soter-light-dark);
}

.text-soter-green {
  color: var(--soter-green);
}

.soter-border-top {
  border-top: 1px solid var(--soter-separator);
}

#soterwatch-container .soter-bento-box {
  border: 1px solid var(--soter-light-dark);
}

.tenant-row {
  position: relative;
}

.tenant-row > span {
  content: "";
  width: 1px;
  height: 100%;
  position: absolute;
  top: 0;
  margin-right: .5rem;
  background-color: var(--soter-separator);
}

.box {
  border: 1px solid var(--soter-separator);
  padding: .5rem;
  border-radius: .375rem;
}

.box.listable-box {
  border-left: 4px solid var(--soter-blue);
}

.box .actions {
  visibility: hidden;
}

.box.listable-box:hover {
  border-left: 4px solid var(--soter-orange);
  background-color: var(--soter-light-dark);
}

.box.listable-box:hover .actions {
  visibility: visible;
}

.draw-check path {
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  animation: draw 1.15s forwards ease-out;
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}


.btn:disabled {
  background-color: var(--soter-border);
  color: black;
  cursor: not-allowed;
}

.btn:disabled:hover {
  background-color: var(--soter-border);
}

.soter-input-resources {
  background-color: var(--soter-box-bg);
  border-radius: 0.5rem;
  padding: .25rem .5rem;
  font-size: 14px;
  border: 1px solid var(--soter-border);
  width: 3.5rem;
}

.soter-input-error {
  animation: blink-red 0.5s 4 forwards;
  border: 2px solid var(--soter-red);
  border-radius: 10px;
}

@keyframes blink-red {
  0%, 100% { border-color: var(--soter-red); }
  50% { border-color: transparent; }
}
