/* styles/components/_modals.css - Minimalist version */
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: var(--spacing-md);
  }
  
  .modal-container {
    background-color: var(--color-background);
    border-radius: var(--border-radius-sm);
    width: 100%;
    max-width: 400px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-md);
    overflow: hidden;
  }
  
  .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
    border-bottom: 1px solid var(--color-border);
  }
  
  .modal-title {
    margin: 0;
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-semibold);
  }
  
  .modal-close {
    background: none;
    border: none;
    color: var(--color-gray-500);
    cursor: pointer;
    font-size: var(--font-size-lg);
    padding: var(--spacing-xs);
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .modal-content {
    padding: var(--spacing-md);
    overflow-y: auto;
    font-size: var(--font-size-sm);
    line-height: var(--line-height-tight);
  }
  
  .modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    border-top: 1px solid var(--color-border);
    background-color: var(--color-gray-100);
  }
  
  .warning-text {
    color: var(--color-danger);
    font-size: var(--font-size-sm);
    background-color: rgba(229, 62, 62, 0.1);
    border-left: 3px solid var(--color-danger);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius-sm);
    line-height: var(--line-height-tight);
  }
  
  /* State Styles - Empty and Loading States */
  .empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg);
    text-align: center;
    color: var(--color-gray-500);
    font-size: var(--font-size-sm);
  }
  
  .empty-state i {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-sm);
    opacity: 0.7;
  }
  
  .loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg);
    text-align: center;
    font-size: var(--font-size-sm);
  }
  
  .loading-spinner {
    width: 1.5rem;
    height: 1.5rem;
    border: 2px solid var(--color-gray-300);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: var(--spacing-sm);
  }
  
  @keyframes spin {
    to { transform: rotate(360deg); }
  }
  
  /* Secrets List Styles */
  .secret-item {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    background-color: var(--color-gray-100);
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--color-border);
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-sm);
  }
  
  .secret-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: var(--spacing-sm);
    align-items: center;
  }
  
  .secret-name {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-weight: var(--font-weight-medium);
    word-break: break-all;
  }
  
  .secret-value {
    position: relative;
  }
  
  .secret-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: var(--spacing-sm);
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--color-border);
  }
  
  .copy-feedback {
    font-size: var(--font-size-xs);
    color: var(--color-success);
    margin-right: auto;
    font-style: italic;
  }