/* Add to Calendar Button */

.atc-wrap {
    position: relative;
    display: inline-block;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.atc-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,.15);
    user-select: none;
}

.atc-btn:hover {
    background: #1d4ed8;
    box-shadow: 0 4px 12px rgba(37,99,235,.35);
}

.atc-btn:focus-visible {
    outline: 3px solid #93c5fd;
    outline-offset: 2px;
}

.atc-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.atc-chevron {
    width: 16px !important;
    height: 16px !important;
    transition: transform 0.2s ease;
}

.atc-btn[aria-expanded="true"] .atc-chevron {
    transform: rotate(180deg);
}

/* Dropdown */

.atc-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
    z-index: 9999;
    overflow: hidden;
    animation: atc-fade-in 0.15s ease;
}

@keyframes atc-fade-in {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

.atc-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
    color: #111827;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.1s ease;
    border-bottom: 1px solid #f3f4f6;
}

.atc-option:last-child {
    border-bottom: none;
}

.atc-option:hover {
    background: #f0f4ff;
    color: #1d4ed8;
}

.atc-option svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}
