input, select, select option{
    font-size: 18px;
}

/* Степпер як на макеті */
.step-line {
    max-width: 44px;
    width: 100%;
    height: 6px;
    background: #EDEDED;
    border-radius: 3px;
}
.step-line.active {
    background: #567AE4;
}

/* Картки медіа */
.media-thumb {
    width: 82px;
    height: 82px;
    cursor: pointer;
    transition: 0.2s;
}
.media-thumb:hover { transform: scale(1.05); }

.media-thumb.delete-btn {
    background-color: #8EAAFF; /* Світліший синій для кнопки видалення */
}

.play-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.delete-overlay{
    position:absolute; top:0; left:0; width:100%; height:100%; background:#567AE4B2; opacity:0; transition:0.2s; cursor:pointer;
    backdrop-filter: blur(3px);
}

/* Кружечки кольорів */
.color-circle {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.color-circle.active {
    border: 3px solid rgba(255, 204, 0, 1);
    transform: scale(1.05);
}

/* Анімація натискання */
.color-circle:active {
    transform: scale(0.95);
}
.color-circle:hover {
    transform: scale(1.15) translateY(-2px);
    filter: brightness(1.1);
}

.date-input::-webkit-calendar-picker-indicator {
    background: url('/wp-content/plugins/memory-platform/assets/img/calendar-icon.svg') no-repeat center;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.custom-check-input {
    width: 24px;
    height: 24px;
    accent-color: #567AE4;
}


.registrationForm__field{
    width: -webkit-fill-available;;
}

.date-container {
    position: relative;
}

.calendar-custom-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none; /* Щоб клік проходив крізь іконку на інпут */
    display: flex;
    align-items: center;
}

/* Прибираємо стандартні іконки в деяких браузерах, якщо раптом використаєш type="date" */
input::-webkit-calendar-picker-indicator {
    display: none;
}

.date-picker-input {
    outline: none;
    transition: border-color 0.3s;
}

.date-picker-input:focus {
    border-color: #567AE4;
}

.w--100{
    width: -webkit-fill-available;
}



/* --- СТИЛІ ЧЕКБОКСА --- */
.checkbox-wrapper {
    display: flex;
    align-items: center;
    cursor: pointer;
}


.checkbox-input {
    display: none;
}

.checkbox-custom {
    width: 28px;
    height: 28px;
    background: rgba(203, 212, 240, 1);
    border-radius: 8px;
    display: inline-block;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid rgba(86, 122, 228, 0.2);
}


.checkbox-input:checked + .checkbox-custom {
    background: #567AE4; 
}

/* Малюємо галочку через псевдоелемент */
.checkbox-custom::after {
    content: "";
    position: absolute;
    display: none;
    left: 10px;
    top: 5px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}

.checkbox-input:checked + .checkbox-custom::after {
    display: block;
}

/* --- СТИЛІ ТУЛТІПА (ПІДКАЗКИ) --- */
.info-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.tooltip-content {
    visibility: hidden;
    width: 220px;
    background-color: #0C0F3F; /* Темно-синій */
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 10px 15px;
    position: absolute;
    z-index: 10;
    bottom: 150%; /* З'являється над іконкою */
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    line-height: 1.4;
    pointer-events: none;
    box-shadow: 0px 5px 15px rgba(0,0,0,0.2);
}

/* Маленький трикутник під тултіпом */
.tooltip-content::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #0C0F3F transparent transparent transparent;
}

/* Показуємо при ховері */
.info-wrapper:hover .tooltip-content {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

.info-icon {
    transition: transform 0.2s ease;
}

.info-wrapper:hover .info-icon {
    transform: scale(1.1);
}

.pointer {
    cursor: pointer;
}

.btn_media{
    cursor: pointer;
}


.form-step {
    display: none; 
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.form-step.active {
    display: block; 
    opacity: 1;
    transform: translateY(0);
}

textarea.border--blue {
    border: 1.5px solid #2D338899;
    outline: none;
    font-family: 'Onest', sans-serif; /* Твій основний шрифт */
}

/* Стилізація плейсхолдера для textarea */
textarea::placeholder {
    color: #0C0F3F;
    opacity: 0.3;
}

/* Щоб при скролі всередині тексту не з'являлися гострі кути */
textarea::-webkit-scrollbar {
    width: 6px;
}
textarea::-webkit-scrollbar-thumb {
    background: #EBF0FF;
    border-radius: 10px;
}

.date-picker-input{
    border: 1px solid #2D338899;
}

.add-more-links{
    background: transparent;
}

.add-more-links-input input{
    border: 1px solid #2D338899;
}

label{line-height: 1em;}



/*MILITARY STYLES*/
.military .main-wrapper{
    background: 
        url('/img/page_steps_military.png') no-repeat center / contain, 
        url('/img/page_steps_military_pixel.png') repeat center , 
        
        #8A7A49; 
    background-position: left;
    background-repeat: no-repeat;
}

.military button.optional {
    background-color: #8A7A49;
}

.military input, .military .registrationForm__field input, .military .registrationForm__field input:focus, .military textarea{
    background: #BAA567;
    color: #fff !important;
    border: 1px solid #fff !important;
}

.military .registrationForm__field select{
    background: #BAA567;
    border: 1px solid #fff !important;
}

.military .registrationForm__field select option{
    padding: 5px;
}

.military .bg--primary{
    background: #433D34;
}

.military .text--primary, .military h1, .military label, .military h5{
    color: #fff;
}

.military .registrationForm__field input:focus {
    opacity: 1 !important;
    border-color: #fff !important;
    color: #fff;
    box-shadow: 0 0 0 1px #fff;
}

.military input::placeholder, 
textarea::placeholder {
    color: #433D34;   
    opacity: 1;       
}

.military .btn_media {
    background: #708C1C;
    border: 1px solid #fff;
    border-radius: 20px;
}

.military .delete-overlay{
    background:#77611CCC !important;
    backdrop-filter: blur(3px);
}

.military .checkbox-custom{
    background: #BAA566;
}
.military .checkbox-input:checked + .checkbox-custom{
    background: #433D34;
}

.military .step-line.active {
    background: #433D34;
}



/*END MILITARY STYLES*/

/* PET STYLES */
.pet .main-wrapper{
    background: #bfdace;
}

.pet .header-bar {
    color: #4CB085;
}

.pet input, .pet .registrationForm__field input, .pet .registrationForm__field input:focus, .pet textarea{
    background: #ffffff;
    border: 1px solid #1D6647 !important;
}

.pet .bg--primary{
    background: #1EB877;
}

.pet .text--primary, .pet h1, .pet label, .pet h5{
    color: #0E3F2A;
}

.pet .registrationForm__field input:focus {
    opacity: 1 !important;
    border-color: #0E3F2A !important;
    color: #0E3F2A;
    box-shadow: 0 0 0 1px #0E3F2A;
}

.pet input::placeholder, 
.pet textarea::placeholder {
    color: #3D3F6580; 
    opacity: 0.6;       
}

.pet .btn_media {
    background: #56FFB8;
    border: 1px solid #1D6647;
    border-radius: 20px;
}

.pet .delete-overlay{
    background: #56FFB8CC !important;
    backdrop-filter: blur(3px);
}

.pet .checkbox-custom{
    background: #F6FFE480;
}
.pet .checkbox-input:checked + .checkbox-custom{
    background: #56FFB8;
}

.pet .step-line.active {
    background: #FFCC00;
}
/* END PET STYLES */

@media (max-width:767px) {

    
    input{
        padding: 15px !important;
    }
    input, label{
        font-size: 16px !important;
    }
    .form-step h1{
        font-size: 32px;
        margin-bottom: 30px;
    }
}

