body {
    font-family: 'Gantari', sans-serif;
    background-color: #eef2f7;
}
.splash-screen{
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: black;
    z-index: 1000;
    opacity: 1;
    transition: opacity 1s ease;
}
.splash-screen.fade-out {
    opacity: 0;
}
.btn-start {
    border: 1px solid white;
    margin-top: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 10px 60px;
    border-radius: 100px;
    opacity: 0;
}
.btn-start h4{
    color: white;
    font-size: 48px;
    font-weight: bold;
    margin: 0;
}
.btn-start:hover {
    box-shadow: 0px 0px 10px 10px rgba(255, 255, 255, 0.6);
    border: 1px solid white;
    background: rgba(255, 255, 255, 1);
}
.btn-start:hover h4 {
    color: rgb(0 100 255) !important;
    text-shadow: 0px 0px 2px rgb(0 100 255);
}
.btn-lang {
    border: 1px solid white;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-right: 20px;
}
.btn-lang h4{
    margin-left: 20px;
    color: white;
    font-size: 40px;
    font-weight: 200;
}
.btn-lang:hover {
    border: 1px solid white;
    background: rgba(255, 255, 255, 1);
}
.btn-lang:hover h4 {
    color: black !important;
}
.simulator-container {
    max-width: 800px;
    margin: 40px auto;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 42, 114, 0.1);
    overflow: hidden;
    padding: 0;
}

.simulator-header {
    background: linear-gradient(135deg, #013399 0%, #0056b3 100%);
    color: white;
    padding: 25px 30px;
    border-bottom: 1px solid #dee2e6;
}

.simulator-header h2 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
}

#simulatorForm {
    padding: 30px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}        .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}        .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    margin-bottom: 25px;
}

label {
    font-weight: 600;
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    color: #343a40;
    font-size: 1rem;
}

label .fa-fw {
    margin-right: 10px;
    color: #013399;
    font-size: 1.1rem;
}

select,
textarea,
input[type="text"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    box-sizing: border-box;
    margin-top: 5px;
    background-color: #f8f9fa;
    transition: border-color 0.3s, box-shadow 0.3s;
}

select:focus,
textarea:focus,
input[type="text"]:focus {
    border-color: #f47f26;
    box-shadow: 0 0 0 3px rgba(244, 127, 38, 0.2);
    outline: none;
}

select[multiple] {
    height: auto;
    min-height: 120px;
}

select[multiple] option {
    padding: 8px;
}

select[multiple] option:checked {
    background-color: #f47f26;
    color: white;
}

.age-range-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.age-range-buttons button {
    padding: 18px 20px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #495057;
    cursor: pointer;
    transition: all 0.4s ease;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 0.95rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.age-range-buttons button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(244, 127, 38, 0.1), transparent);
    transition: left 0.5s ease;
}

.age-range-buttons button:hover::before {
    left: 100%;
}

.age-range-buttons button .fa-fw {
    color: #013399;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.age-range-buttons button:hover {
    border-color: #f47f26;
    color: #f47f26;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(244, 127, 38, 0.2);
    background: linear-gradient(135deg, #fff5ee 0%, #ffeee6 100%);
}

.age-range-buttons button:hover .fa-fw {
    color: #f47f26;
    transform: scale(1.1);
}

.age-range-buttons button.active {
    background: linear-gradient(135deg, #f47f26 0%, #fd9843 100%);
    color: #fff;
    border-color: #f47f26;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(244, 127, 38, 0.4);
}

.age-range-buttons button.active .fa-fw {
    color: #fff;
    transform: scale(1.15);
}

.age-range-buttons button.active::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

@media (max-width: 768px) {
    .age-range-buttons {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 12px;
    }
    
    .age-range-buttons button {
        padding: 15px 16px;
        font-size: 0.9rem;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .age-range-buttons {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .age-range-buttons button {
        padding: 12px 14px;
        font-size: 0.85rem;
        gap: 8px;
    }
}

.searchable-select {
    position: relative;
}

.search-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    border-radius: 8px 8px 0 0;
    box-sizing: border-box;
    background-color: #f8f9fa;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.search-input:focus {
    border-color: #f47f26;
    box-shadow: 0 0 0 3px rgba(244, 127, 38, 0.2);
    outline: none;
}

.select-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 200px;
    overflow-y: auto;
    background: white;
    border: 1px solid #ced4da;
    border-top: none;
    border-radius: 0 0 8px 8px;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.select-dropdown.show {
    display: block;
}

.select-option {
    padding: 12px 15px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.select-option:hover {
    background-color: #f8f9fa;
}

.select-option.selected {
    background-color: #f47f26;
    color: white;
}

.select-option.hidden {
    display: none;
}

.tags-input-container {
    border: 1px solid #ced4da;
    border-radius: 8px;
    padding: 8px;
    background-color: #f8f9fa;
    min-height: 45px;
    cursor: text;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.tags-input-container:focus-within {
    border-color: #f47f26;
    box-shadow: 0 0 0 3px rgba(244, 127, 38, 0.2);
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 6px;
}

.tag {
    background: linear-gradient(135deg, #f47f26 0%, #fd9843 100%);
    color: white;
    padding: 4px 8px;
    border-radius: 15px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.tag .remove-tag {
    cursor: pointer;
    font-weight: bold;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

.tag .remove-tag:hover {
    background: rgba(255, 255, 255, 0.5);
}

.tag-input {
    border: none;
    outline: none;
    background: transparent;
    flex: 1;
    min-width: 100px;
    padding: 4px;
    font-size: 0.9rem;
}

.tag-limit-info {
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 4px;
}        .category-buttons {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    margin-top: 15px;
}

.category-buttons button {
    padding: 15px 12px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #495057;
    cursor: pointer;
    transition: all 0.4s ease;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.85rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    min-height: 75px;
}

.category-buttons button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(244, 127, 38, 0.1), transparent);
    transition: left 0.5s ease;
}

.category-buttons button:hover::before {
    left: 100%;
}

.category-buttons button .fa-fw {
    font-size: 1.3rem;
    color: #013399;
    transition: all 0.3s ease;
}

.category-buttons button:hover {
    border-color: #f47f26;
    color: #f47f26;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(244, 127, 38, 0.2);
    background: linear-gradient(135deg, #fff5ee 0%, #ffeee6 100%);
}

.category-buttons button:hover .fa-fw {
    color: #f47f26;
    transform: scale(1.1);
}

.category-buttons button.active {
    background: linear-gradient(135deg, #f47f26 0%, #fd9843 100%);
    color: #fff;
    border-color: #f47f26;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(244, 127, 38, 0.4);
}

.category-buttons button.active .fa-fw {
    color: #fff;
    transform: scale(1.15);
}

.category-buttons button.active::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

@media (max-width: 768px) {
    .category-buttons {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .category-buttons button {
        padding: 12px 8px;
        font-size: 0.8rem;
        gap: 6px;
        min-height: 65px;
    }

    .category-buttons button .fa-fw {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .category-buttons {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .category-buttons button {
        padding: 10px 6px;
        font-size: 0.75rem;
        gap: 4px;
        min-height: 60px;
    }

    .category-buttons button .fa-fw {
        font-size: 1rem;
    }
}

.submit-button {
    background: linear-gradient(135deg, #f47f26 0%, #fd9843 100%);
    color: white;
    padding: 15px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s;
    width: 100%;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-button:hover {
    box-shadow: 0 6px 15px rgba(244, 127, 38, 0.4);
    transform: translateY(-2px);
}

.loading-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lab-animation-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin-bottom: 20px;
    animation: shake 1.2s cubic-bezier(.36, .07, .19, .97) infinite;
}

.erlenmeyer-flask {
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M20 95 H 80 L 65 25 V 5 H 35 V 25 L 20 95 Z' stroke='white' stroke-width='3' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    position: relative;
}

.liquid {
    position: absolute;
    bottom: 5%;
    left: 21%;
    width: 58%;
    height: 0;
    background: linear-gradient(to top, #89f7fe, #66a6ff);
    animation: fill-flask 15s linear infinite;
    clip-path: polygon(0% 100%, 100% 100%, 78% 0%, 22% 0%);
}

.bubble {
    position: absolute;
    bottom: 10%;
    width: 8px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: rise 3s infinite ease-in;
    opacity: 0;
}

.bubble:nth-child(2) {
    left: 25%;
    animation-duration: 4s;
    animation-delay: 1s;
}

.bubble:nth-child(3) {
    left: 50%;
    animation-duration: 2.5s;
    animation-delay: 0.5s;
}

.bubble:nth-child(4) {
    left: 70%;
    animation-duration: 3.5s;
    animation-delay: 1.5s;
}

.bubble:nth-child(5) {
    left: 40%;
    animation-duration: 5s;
    animation-delay: 2s;
}

#loadingStatusText {
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
}

@keyframes fill-flask {
    0% {
        height: 0;
    }

    100% {
        height: 90%;
    }
}

@keyframes rise {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(-160px);
        opacity: 0;
    }
}

@keyframes shake {

    10%,
    90% {
        transform: rotate(-3deg);
    }

    20%,
    80% {
        transform: rotate(4deg);
    }

    30%,
    50%,
    70% {
        transform: rotate(-5deg);
    }

    40%,
    60% {
        transform: rotate(5deg);
    }
}