/* Custom styles for Manager Meeting App */

.drag-handle {
    cursor: grab;
}

.drag-handle:active {
    cursor: grabbing;
}

.dragging {
    opacity: 0.5;
}

.drag-over {
    border-color: #3b82f6;
    background-color: #eff6ff;
}

.agenda-item {
    transition: all 0.2s ease;
}

.agenda-item:hover {
    background-color: #f9fafb;
}

.completed {
    opacity: 0.6;
    text-decoration: line-through;
}

.action-item {
    transition: all 0.2s ease;
}

.action-item:hover {
    background-color: #f9fafb;
}

.save-indicator {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 8px 16px;
    background-color: #10b981;
    color: white;
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.save-indicator.show {
    opacity: 1;
}

/* Mobile responsive improvements */
@media (max-width: 1024px) {
    .grid-cols-1.lg\\:grid-cols-3 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Stack panels vertically on mobile */
    .max-w-7xl {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Better touch targets */
    button {
        min-height: 44px;
        touch-action: manipulation;
    }
    
    input, select, textarea {
        min-height: 44px;
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    /* Drag handle more prominent on mobile */
    .drag-handle {
        font-size: 1.2rem;
        padding: 0.5rem;
        margin: -0.5rem;
    }
}

@media (max-width: 640px) {
    /* Mobile-specific adjustments */
    .container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    /* Smaller text on very small screens */
    .text-lg {
        font-size: 1rem;
    }
    
    /* Compact form layout */
    .space-y-4 > * + * {
        margin-top: 0.75rem;
    }
    
    /* Better mobile textarea */
    #meeting-notes {
        height: 200px;
        font-size: 16px;
    }
}