/* ============================================
   ADD TO CALENDAR STYLES
   For Hilltop Senior Geeks 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: 6px;
    padding: 6px 12px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-calendar:hover {
    background: linear-gradient(135deg, #45a049, #3d8b40);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-calendar:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

/* Larger calendar button for modal */
.btn-calendar-large {
    padding: 10px 18px;
    font-size: 1rem;
}

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

/* 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: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    min-width: 200px;
    animation: dropdownFadeIn 0.15s ease-out;
}

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

.calendar-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    width: 100%;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 0.95rem;
    color: #333;
    text-decoration: none;
    transition: background-color 0.15s ease;
    text-align: left;
}

.calendar-option:hover {
    background-color: #f5f5f5;
}

.calendar-option:first-child {
    border-bottom: 1px solid #eee;
}

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

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

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