.event-calendar-add-button {
    position: relative;
    display: inline-block;
	width: 100%;
}

.event-calendar-add-button button.ecab-toggle {
    background-color: #0078d7;
    color: white;
    border: none;
    padding: .625em 1.25em;
    font-size: 1.5em;
	line-height: 1.35;
	font-weight: normal;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
	width: 100%;
}

.event-calendar-add-button button.ecab-toggle:hover {
    background-color: #005a9e;
}

/* This dropdown stays in the DOM as a template, we will not rely on it for stacking */
.event-calendar-add-button .event-calendar-dropdown {
    display: none;
}

/* The real visible menu that gets moved to body */
.ecab-flyout {
    position: fixed;
    z-index: 2147483647;
    background-color: white;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    min-width: 220px;
    padding: 6px 0;
}

.ecab-flyout a {
    display: block;
    color: #333;
    padding: 12px 15px;
    text-decoration: none;
    font-size: 1em;
    transition: background-color 0.3s;
    white-space: nowrap;
}

.ecab-flyout a:hover {
    background-color: #f1f1f1;
    color: #0078d7;
}

/* drop down icons */

.ecab-flyout a {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ecab-fa {
  width: 18px;
  min-width: 18px;
  font-size: 18px;
  line-height: 1;
}

/* Brand colors */
.ecab-flyout a:nth-child(2) .ecab-fa { color: crimson; } /* Google */
.ecab-flyout a:nth-child(3) .ecab-fa { color: #0078D4; } /* Outlook / Microsoft */
.ecab-flyout a:nth-child(4) .ecab-fa { color: #6001D2; } /* Yahoo */
.ecab-flyout a:nth-child(5) .ecab-fa { color: darkorange; } /* ICS */

/* Optional: keep icon colors on hover (don’t turn them blue) */
.ecab-flyout a:hover .ecab-fa {
  color: inherit;
}
