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

/*

@layer components {
  .btn-primary {
    @apply py-2 px-4 bg-blue-200;
  }
}

*/
.checkbox-wrapper {
    position: relative;
    display: inline-block;
    width: 25px;
    height: 25px;
}

.checkbox-wrapper .background {
    fill: var(--gray-300);
    transition: ease all 0.6s;
    -webkit-transition: ease all 0.6s;
}

.checkbox-wrapper .check {
    fill: none;
    stroke: white;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3px;
    stroke-dashoffset: 22;
    stroke-dasharray: 22;
    transition: ease all 0.6s;
    -webkit-transition: ease all 0.6s;
}

.checkbox-wrapper input[type=checkbox] {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    margin: 0;
    opacity: 0;
    -appearance: none;
    -webkit-appearance: none;
}

.checkbox-wrapper input[type=checkbox]:hover {
    cursor: pointer;
}

.checkbox-wrapper:hover .check {
    stroke-dashoffset: 0;
}

.checkbox-wrapper input[type=checkbox]:checked + svg .background {
    fill: var(--success-color);
}

.checkbox-wrapper input[type=checkbox]:checked + svg .check {
    stroke-dashoffset: 0;
}
/* Base container for the icon */
.goals-indicator-container {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 25px;
    height: 25px;
    border-radius: 3px; 
  }
  .icon-failure {
    background-color: var(--error-color-light);
    color: var(--error-color);
  }
  
  .icon-success {
    background-color: var(--success-color-light);
    color: var(--success-color);
  }
  
  .icon-in-progress {
    background-color: var(--warning-color-light);
    color: var(--warning-color);
  }
  .icon-no-action {
    background-color: var(--gray-300);
  }
#newsletter {
    max-width: 900px;
    align-self: center;
    font-family: 'Cupidus', sans-serif;
    font-size: 1.2rem;
    line-height: 1.6;
}
#newsletter .sm-card {
    padding: 40px;
}
#newsletter h1 {
    margin-bottom: 30px;
    font-size: 3rem;
}
#newsletter h2 {
    font-size: 2rem;
    margin-bottom: 5px;
}
#newsletter h3 {
    font-size: 1.7rem;
}
#newsletter h4 {
    font-size: 1.5rem;
    text-transform: none;
    font-weight: 600;
    margin-bottom: 10px;
}
#newsletter p {
    margin-bottom: 20px;
    font-size: 1.2rem;
    line-height: 1.6;
    font-weight: 300;
}
#newsletter p:has(+h1), #newsletter p:has(+h2), #newsletter p:has(+h3), #newsletter p:has(+h4){
    margin-bottom: 40px;
}
#newsletter a {
    font-size: 1.2rem;
    line-height: 1;
}
#newsletter ol, #newsletter ul {
    padding: 0 2rem 2rem 2rem;
    font-weight: 300;
}
#newsletter p:has(+ul), #newsletter p:has(+ol){
    margin-bottom: 0px;
}

#newsletter hr {
margin-bottom: 1rem;   
}
#newsletter code {
    background-color: #F6F7F8;
    border: 1px solid #CED3D9;
    border-radius: 8px;
    display: block;
    padding: 20px;
    margin-bottom: 30px;
}
#newsletter strong {
    font-weight: 600;
}
.strongmind-ui .sm-employee-job-title {
    font-weight: normal;
    font-size: inherit;
    display: block;
}

.strongmind-ui textarea {
    min-height: 100px;
}

.breadcrumbs-container {
    margin-bottom: 20px;
}

.sm-tooltip-container .sm-tooltip {
    visibility: hidden;
}

.sm-tooltip-container:hover .sm-tooltip {
    visibility: visible;
}

.sm-tooltip {
    color: white;
    text-align: left;
    padding: 16px;
}

.info-icon {
    color: #01527e;
}

.visible-cards-1 {
    --visible-cards: 1;
}

.visible-cards-2 {
    --visible-cards: 2;
}

.visible-cards-3 {
    --visible-cards: 3;
}

.visible-cards-4 {
    --visible-cards: 4;
}

@media (min-width: 640px) {
    .sm\:visible-cards-2 {
        --visible-cards: 2;
    }
}

@media (min-width: 768px) {
    .md\:visible-cards-3 {
        --visible-cards: 3;
    }
}

@media (min-width: 1024px) {
    .lg\:visible-cards-4 {
        --visible-cards: 4;
    }
}
/* Base tooltip styles */
.sm-tooltip-bottom {
  visibility: hidden;
}

/* Show on hover (default behavior) */
.sm-tooltip-container:hover .sm-tooltip-bottom {
  visibility: visible;
}
/*
 * 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.
 *


 */

.tab-content {
    display: none;

    &.active {
        display: flex;
    }
}
