.tmc-cookie-bar {
position: fixed;
left: 0;
right: 0;
z-index: 999999;
padding: 0;
box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
animation: tmcCookieSlideIn 0.4s ease;
}
@keyframes tmcCookieSlideIn {
from {
transform: translateY(100%);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
}
}
.tmc-cookie-bar[style*="top: 0"] {
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
animation-name: tmcCookieSlideInTop;
}
@keyframes tmcCookieSlideInTop {
from {
transform: translateY(-100%);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
}
}
.tmc-cookie-container {
max-width: 1200px;
margin: 0 auto;
padding: 15px 20px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 20px;
flex-wrap: wrap;
}
.tmc-cookie-content {
flex: 1;
min-width: 200px;
font-size: 14px;
line-height: 1.6;
}
.tmc-cookie-content p {
margin: 0;
}
.tmc-cookie-content a {
text-decoration: underline;
opacity: 0.9;
}
.tmc-cookie-content a:hover {
opacity: 1;
}
.tmc-cookie-actions {
display: flex;
flex-wrap: wrap;
gap: 10px;
flex-shrink: 0;
}
.tmc-cookie-btn {
display: inline-block;
padding: 10px 20px;
border: none;
border-radius: 4px;
font-size: 14px;
font-weight: 600;
cursor: pointer;
transition: opacity 0.2s, transform 0.2s;
text-transform: none;
letter-spacing: 0;
white-space: nowrap;
}
.tmc-cookie-btn:hover {
opacity: 0.85;
transform: translateY(-1px);
}
.tmc-cookie-btn:active {
transform: translateY(0);
} .tmc-cookie-bar.tmc-cookie-hiding {
animation: tmcCookieSlideOut 0.3s ease forwards;
}
@keyframes tmcCookieSlideOut {
from {
transform: translateY(0);
opacity: 1;
}
to {
transform: translateY(100%);
opacity: 0;
}
}
.tmc-cookie-bar[style*="top: 0"].tmc-cookie-hiding {
animation-name: tmcCookieSlideOutTop;
}
@keyframes tmcCookieSlideOutTop {
from {
transform: translateY(0);
opacity: 1;
}
to {
transform: translateY(-100%);
opacity: 0;
}
} @media (max-width: 768px) {
.tmc-cookie-container {
flex-direction: column;
text-align: center;
}
.tmc-cookie-content {
min-width: 100%;
}
.tmc-cookie-actions {
width: 100%;
justify-content: center;
}
.tmc-cookie-btn {
flex: 1;
min-width: 100px;
}
}
@media (max-width: 480px) {
.tmc-cookie-actions {
flex-direction: column;
}
.tmc-cookie-btn {
width: 100%;
}
}