/* Suggested Notes Header Fix - Match height and ensure buttons are visible */

/* Fix header height to match other tiles */
[data-section="suggested-actions"] .clean-tile.note .tile-header {
    min-height: 2rem; /* Match other tile headers */
    padding: 0.25rem 0.5rem; /* Match standard padding */
    align-items: center;
}

/* Ensure tile-header-right is properly styled */
[data-section="suggested-actions"] .clean-tile.note .tile-header-right {
    display: flex !important;
    align-items: center !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
    position: relative !important;
    min-width: 7rem !important;
    justify-content: flex-end !important;
    height: 100%;
}

/* Fix tile actions positioning - they should be in the header-right section */
[data-section="suggested-actions"] .clean-tile.note .tile-header-right .tile-actions {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    display: flex !important;
    gap: 0.25rem !important;
    opacity: 0;
    transition: opacity 0.15s ease;
    z-index: 1;
    margin-right: 0 !important; /* Ensure no extra margin */
    padding-right: 0 !important; /* Ensure no extra padding */
}

/* Remove any absolute positioning from previous fixes */
[data-section="suggested-actions"] .clean-tile.note .tile-actions {
    position: relative !important;
    top: auto !important;
    right: auto !important;
}

/* Show actions on hover */
[data-section="suggested-actions"] .clean-tile.note:hover .tile-header-right .tile-actions {
    opacity: 1;
}

/* Ensure status badge hides when buttons show */
[data-section="suggested-actions"] .clean-tile.note .tile-header-right .tile-status {
    position: absolute;
    right: 0;
    transition: opacity 0.15s ease;
}

[data-section="suggested-actions"] .clean-tile.note:hover .tile-header-right .tile-status {
    opacity: 0;
}

/* Remove padding adjustments that were compensating for absolute positioning */
[data-section="suggested-actions"] .clean-tile.note {
    padding-right: 0.75rem !important; /* Standard padding */
    padding-bottom: 0.5rem !important; /* Standard padding */
}

/* Ensure the header doesn't have excessive margins */
[data-section="suggested-actions"] .clean-tile.note .tile-header {
    margin-right: 0 !important;
    padding-right: 0.5rem !important; /* Match standard tile header padding */
}