﻿/* ZenzonApp Actions & Interactive Elements */

/* 1. SHARED ICON BUTTONS (Open/Delete/View/Edit) */
.action-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 10px; /* Modern rounded aesthetic */
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: all 0.2s ease-in-out;
    color: #4b5563; /* Medium grey icon color */
}

    .action-icon-btn:hover {
        background: #f9fafb;
        border-color: #d1d5db;
        color: #111827;
    }

    /* Danger State (Deletions/Cancellations) */
    .action-icon-btn.danger {
        border-color: #fecaca;
        color: #dc2626; /* Professional red */
    }

        .action-icon-btn.danger:hover {
            background: #fff5f5;
            border-color: #fca5a5;
            color: #b91c1c;
        }

/* 2. TABLE & CELL SPECIFICS */
.actions-cell {
    white-space: nowrap;
    text-align: right;
    gap: 8px;
    display: flex;
    justify-content: flex-end;
}

    .actions-cell .btn {
        padding-left: 8px;
        padding-right: 8px;
        font-size: 0.75rem;
    }

/* 3. DOCUMENT & MEDIA ACTIONS */
.document-actions {
    display: flex;
    justify-content: space-between;
    gap: 6px;
    margin-top: 10px;
}

.image-viewer-actions {
    display: flex;
    gap: 12px;
}

/* 4. CONTEXT MENU ITEMS (Action Overlays) */
.context-item {
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid #f5f5f5;
    white-space: nowrap;
    min-height: 36px;
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    transition: background-color 0.1s;
}

    .context-item:hover {
        background-color: #f8f9fa;
    }

    .context-item.text-danger {
        color: #dc3545 !important;
        font-weight: 500;
    }

/* 5. INPUT FILE BUTTONS */
input[type="file"]::file-selector-button {
    background: #16a34a; /* Green for "Add/Upload" intent */
    color: #ffffff;
    border: 1px solid #16a34a;
    border-radius: 6px;
    padding: 6px 12px;
    margin-right: 10px;
    cursor: pointer;
    font-weight: 600;
}

    input[type="file"]::file-selector-button:hover {
        background: #15803d;
    }
