/* ============================================
   ADD TO CALENDAR STYLES
   For Hilltop Garden Club Web App
   ============================================ */

/* Status row - contains status badge and calendar button */
.presentation-status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

/* Calendar Button */
.btn-calendar {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
    position: relative;
    overflow: hidden;
}

.btn-calendar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-calendar:hover::before {
    opacity: 1;
}

.btn-calendar:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

.btn-calendar:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.25);
}

.btn-calendar i {
    font-size: 0.9rem;
}

/* Larger calendar button for modal */
.btn-calendar-large {
    padding: 14px 24px;
    font-size: 1.05rem;
}

.btn-calendar-large i {
    font-size: 1.2rem;
}

/* Hide text on small screens, show only icon */
@media (max-width: 480px) {
    .btn-calendar-text {
        display: none;
    }
    
    .btn-calendar {
        padding: 6px 10px;
    }
}

/* Calendar Dropdown Menu */
.calendar-dropdown {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    min-width: 220px;
    animation: dropdownFadeIn 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.calendar-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    width: 100%;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1f2937;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
}

.calendar-option:hover {
    background-color: #f9fafb;
    padding-left: 22px;
}

.calendar-option:not(:last-child) {
    border-bottom: 1px solid #e5e7eb;
}

/* Google Calendar option styling */
.calendar-option.google-calendar:hover {
    background-color: #eff6ff;
}

/* Outlook Calendar option styling */
.calendar-option.outlook-calendar:hover {
    background-color: #f0f7ff;
}

/* Apple Calendar option styling */
.calendar-option.apple-calendar:hover {
    background-color: #f3f4f6;
}

.calendar-option i {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}
