.evtcal {
position: relative;
display: inline-block;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
} .evtcal-btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
padding: 12px 24px;
font-size: 16px;
font-weight: 500;
line-height: 1.5;
text-align: center;
text-decoration: none;
white-space: nowrap;
vertical-align: middle;
cursor: pointer;
user-select: none;
border: none;
border-radius: 6px;
transition: all 0.3s ease;
background-color: #000000;
color: #ffffff;
}
.evtcal-btn:hover,
.evtcal-btn:focus {
background-color: #333333;
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
outline: none;
}
.evtcal-btn:active {
transform: translateY(0);
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
} .evtcal-arrow {
display: inline-block;
font-size: 14px;
transition: transform 0.3s ease;
}
.evtcal.active .evtcal-arrow {
transform: rotate(180deg);
} .evtcal-dropdown {
position: absolute;
top: calc(100% + 8px);
left: 0;
z-index: 1000;
display: none;
min-width: 220px;
padding: 8px 0;
margin: 0;
list-style: none;
background-color: #ffffff;
border: 1px solid rgba(0, 0, 0, 0.1);
border-radius: 8px;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
opacity: 0;
transform: translateY(-10px);
transition: opacity 0.3s ease, transform 0.3s ease;
}
.evtcal.active .evtcal-dropdown {
display: block;
opacity: 1;
transform: translateY(0);
} .evtcal-dropdown li {
margin: 0;
padding: 0;
}
.evtcal-dropdown a {
display: flex;
align-items: center;
gap: 12px;
padding: 10px 16px;
color: #333333;
text-decoration: none;
font-size: 14px;
font-weight: 400;
transition: background-color 0.2s ease, color 0.2s ease;
}
.evtcal-dropdown a:hover,
.evtcal-dropdown a:focus {
background-color: #f5f5f5;
color: #000000;
outline: none;
}
.evtcal-dropdown a:active {
background-color: #e8e8e8;
} .evtcal-dropdown img {
width: 20px;
height: 20px;
flex-shrink: 0;
border-radius: 3px;
} @media (max-width: 768px) {
.evtcal-btn {
padding: 10px 20px;
font-size: 14px;
}
.evtcal-dropdown {
min-width: 200px;
}
.evtcal-dropdown a {
padding: 12px 16px;
font-size: 15px;
}
}
@media (max-width: 480px) {
.evtcal {
display: block;
width: 100%;
}
.evtcal-btn {
width: 100%;
justify-content: center;
}
.evtcal-dropdown {
left: 0;
right: 0;
width: 100%;
min-width: auto;
}
} .evtcal-btn:focus-visible {
outline: 2px solid #4a90e2;
outline-offset: 2px;
}
.evtcal-dropdown a:focus-visible {
outline: 2px solid #4a90e2;
outline-offset: -2px;
} @keyframes evtcalFadeIn {
from {
opacity: 0;
transform: translateY(-10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.evtcal.active .evtcal-dropdown {
animation: evtcalFadeIn 0.3s ease;
}