@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

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

@font-face {
    font-family: "NunitoUI";
    src: url(/assets/NunitoSans-dc39e2e5d157b193fcfde51953b2b9d540c10f7917ea7f716287b51ea6ec49db.ttf) format("ttf");
}

.nunito-600 {
    font-family: "Nunito", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}
.nunito-500 {
    font-family: "Nunito", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}
.nunito-700 {
    font-family: "Nunito", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}

.raleway-500 {
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

.raleway-600 {
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}

@media (prefers-color-scheme: dark) {
    :root {
        color-scheme: only light;
    }
}

@layer utilities {
    input[list]::-webkit-calendar-picker-indicator {
        display: none !important;
        -webkit-appearance: none;
    }

    input[list]::-webkit-list-button {
        display: none !important;
        -webkit-appearance: none;
    }

    .select-arrow {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        background: no-repeat right center / 22px 22px;
    }

    .select-arrow {
        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='%23A8A8A8' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    }

    .select-arrow: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='%23212229' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    }

    .select-arrow: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='1.5' d='M6 12l4-4 4 4'/%3e%3c/svg%3e");
    }

    .select-arrow: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='%23A8A8A8' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
        cursor: not-allowed;
    }

    .select-arrow:disabled: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='%23A8A8A8' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    }

    .select-arrow:disabled: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='%23A8A8A8' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    }
}

#autoCompleteInternationalCode {
    border: none;
    focus-outline: none;
}

.radio-image-remove {
    background-image: none !important;
}

.asterisk {
    @apply text-red-stepper;
}

.form-field-style {
    @apply px-0 py-1 border-x-0 border-t-0 border-b-[1px] border-line-color hover:border-black focus:border-black focus:ring-0;
}

.badge-base {
    @apply flex w-fit h-fit cursor-help whitespace-nowrap select-none border-[1.5px] px-[12px] py-[2px] rounded-full text-[12px] font-bold;
}

.stage-badge {
    @apply badge-base text-dark-blue border-dark-blue;
}

.role-badge {
    @apply badge-base text-badge-purple border-badge-purple;
}

.text-field {
    @apply flex items-center w-full border-x-0 border-t-0 border-b-[1px]
    border-line-color placeholder-line-color px-0 text-text-gray
    hover:shadow-[0_0.5px_0_0_#212229] hover:border-b-dark hover:text-dark
    focus:shadow-[0_0.5px_0_0_#3b82f6] focus:ring-0 focus:border-b-focus-blue focus:text-dark;
}

.text-field-left-padding {
    @apply flex items-center w-full border-x-0 border-t-0 border-b-[1px]
    border-line-color placeholder-line-color pl-12 text-text-gray
    hover:shadow-[0_0.5px_0_0_#212229] hover:border-b-dark hover:text-dark
    focus:shadow-[0_0.5px_0_0_#3b82f6] focus:ring-0 focus:border-b-focus-blue focus:text-dark
    disabled:border-dashed disabled:text-line-color disabled:bg-transparent;
}

.text-field:disabled {
    @apply border-dashed text-line-color bg-transparent cursor-not-allowed;
}

.text-field:disabled:hover {
    @apply shadow-none border-b-line-color text-line-color;
}

.text-field:disabled:focus {
    @apply shadow-none border-b-line-color text-line-color;
}

.text-field-label {
    @apply flex items-center text-base font-medium text-text-gray
    transition-colors mb-3;
}

.text-field:not(:disabled) + .text-field-label {
    @apply group-hover:text-dark group-focus-within:text-focus-blue;
}

.text-field:disabled + .text-field-label {
    @apply text-line-color;
}


.submit-button-filled {
    @apply cursor-pointer flex px-3 py-2 bg-focus-blue text-[16px] text-white font-medium justify-center items-center
    focus:ring-0 focus:outline-0 transition-all duration-700 hover:bg-button-hover
    disabled:bg-button-focus lowercase;
}

.modal-right {
    display: flex;
    justify-content: flex-end;
}

.modal-right .modal-box {
    transform: translateX(100%);
    transition: transform 0.3s ease-out;
}

.modal-toggle:checked ~ .modal-right .modal-box {
    transform: translateX(0);
}

.modal-right .modal-backdrop {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-toggle:checked ~ .modal-right .modal-backdrop {
    opacity: 1;
}

.gradient-button {
    @apply cursor-pointer flex py-2 text-base bg-gradient-to-r from-gradient-green to-gradient-purple text-white font-semibold rounded-none transition-all duration-700 ease-in-out hover:bg-gradient-to-l hover:from-gradient-purple hover:to-gradient-green hover:shadow-lg transform hover:scale-[1.02] focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gradient-green justify-center items-center;
}

.gradient-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#generate-credentials:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #9ca3af;
}

#generate-credentials:disabled:hover {
    background-color: #9ca3af;
    transform: none;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 8px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(208, 226, 255, 1);
    border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(153, 179, 255, 1);
    border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(133, 159, 235, 1);
}

.custom-scrollbar {
    scrollbar-width: thin;
    scrollbar-color: rgba(153, 179, 255, 1) rgba(208, 226, 255, 1);
}

.modal-skills {
    @apply uppercase;
}

.flex-col-s {
    @apply flex flex-col;
}

.x-button {
    @apply absolute right-6 top-6 text-gray-400 hover:text-gray-600 text-3xl flex items-center justify-center;
}

.vaul-text {
    @apply transition-colors duration-300 uppercase font-medium truncate max-w-[9ch] inline-block align-bottom;
}

.vaul-card {
    @apply flex px-4 py-2 bg-gray-50 border-[1px] border-gray-400 rounded-lg justify-center items-center mt-3;
}

.border-button-blue {
    @apply flex h-9 px-4 bg-gray-50 border-[1px] border-[#1D4ED8] rounded-lg text-sm text-[#1D4ED8] font-medium hover:bg-[#DBEAFE] active:ring-[1px] active:ring-[#1D4ED8] justify-center items-center;
}

.border-button-grey {
    @apply flex px-3 py-2 bg-gray-50 border-[1px] border-line-color text-base text-gray-600 font-medium hover:bg-gray-200 active:ring-[1px] active:ring-gray-700 justify-center items-center lowercase;
}

.blue-radio {
    @apply h-5 w-5 rounded-full border-[1.5px] border-text-gray text-[#3B82F6] checked:bg-[#3B82F6] checked:border-[#3B82F6] focus:ring-0 focus:ring-offset-0 cursor-pointer;
    background-image: none !important;
    position: relative;
}

.blue-radio:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 95%;  /* размер внутреннего круга */
    height: 95%;
    background-color: #3B82F6; /* цвет центра */
    border: 2px solid #F9FAFB; /* цвет “пробела” между border и центром (card-background) */
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
/*
 * 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.
 *


 */
