#tinan-container {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
background: linear-gradient(120deg, #f4f4f4, #ffffff);
border-radius: 30px;
padding: 15px 30px;
max-width: 650px; width: 90%;
margin: 30px auto;
transition: all 0.5s ease;
box-shadow: 0 6px 20px rgba(0,0,0,0.12);
position: relative;
flex-wrap: nowrap;
} #tinan-container:hover:not(.tinan-loading) {
transform: translateY(-2px);
box-shadow: 0 10px 25px rgba(0,0,0,0.18);
background: linear-gradient(120deg, #f0f8ff, #e6f7ff);
} #tinan-container.tinan-available::before,
#tinan-container.tinan-unavailable::before {
content: "";
position: absolute;
top: 50%;
left: 20px;
transform: translateY(-50%) scale(0);
width: 24px;
height: 24px;
background-size: cover;
transition: transform 0.5s ease, opacity 0.5s ease;
opacity: 0;
}
#tinan-container.tinan-available::before {
background-image: url(//labo-van.be/wp-content/plugins/tinan-availability/check-icon.svg); }
#tinan-container.tinan-unavailable::before {
background-image: url(//labo-van.be/wp-content/plugins/tinan-availability/cross-icon.svg); }
#tinan-container.tinan-available::before,
#tinan-container.tinan-unavailable::before {
transform: translateY(-50%) scale(1);
opacity: 1;
} @keyframes pulse-green {
0% { box-shadow: 0 0 0 rgba(39,174,96,0.5); }
50% { box-shadow: 0 0 25px rgba(39,174,96,0.9); transform: scale(1.06); }
100% { box-shadow: 0 0 15px rgba(39,174,96,0.6); transform: scale(1.03); }
}
@keyframes pulse-red {
0% { box-shadow: 0 0 0 rgba(231,76,60,0.5); }
50% { box-shadow: 0 0 25px rgba(231,76,60,0.9); transform: scale(1.06); }
100% { box-shadow: 0 0 15px rgba(231,76,60,0.6); transform: scale(1.03); }
} .tinan-loader {
border: 3px solid rgba(255,255,255,0.3);
border-top: 3px solid #333;
border-radius: 50%;
width: 24px;
height: 24px;
margin: 0 auto;
animation: spin 1s linear infinite;
} #tinan-date {
border: none;
background: transparent;
font-size: 1.1rem;
flex-grow: 1;
color: inherit;
text-align: center;
outline: none;
cursor: pointer;
font-weight: 600;
min-width: 140px;
opacity: 0;
transform: translateY(-10px);
animation: fadeSlideIn 0.5s forwards 0.2s;
} #tinan-check {
background-color: white;
color: #333;
border: none;
border-radius: 20px;
padding: 12px 20px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
opacity: 0;
transform: translateY(10px);
animation: fadeSlideIn 0.5s forwards 0.4s;
}
#tinan-check:hover {
background-color: #f2f2f2;
transform: scale(1.07);
} .tinan-message {
width: 100%;
text-align: center;
font-size: 1rem;
margin-top: 12px;
font-weight: 500;
color: inherit;
opacity: 0;
transform: translateY(8px);
animation: fadeSlideIn 0.5s forwards 0.6s;
} #tinan-result {
text-align: right;
line-height: 1.3;
word-break: break-word;
overflow-wrap: anywhere;
} @media (max-width: 600px) {
#tinan-container {
flex-direction: column;
gap: 14px;
padding: 20px;
max-width: 95%;
}
#tinan-date, #tinan-check {
width: 100%;
text-align: center;
}
#tinan-check {
border-radius: 25px;
} #tinan-result {
width: 100%;
text-align: center;
margin-top: 4px;
word-break: break-word;
}
} @keyframes fadeSlideIn {
0% { opacity: 0; transform: translateY(10px); }
100% { opacity: 1; transform: translateY(0); }
}