/* 14-views-vault.css - Media Vault Styles */

.vault-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding-bottom: 40px;
}

.vault-card {
    background: #ffffff;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}

.vault-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05) !important;
}

.vault-card-preview {
    height: 180px;
    width: 100%;
    overflow: hidden;
    background: #f8fafc;
    position: relative;
}

.vault-card-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vault-card-info {
    padding: 15px;
    flex: 1;
}

.vault-card-title {
    font-size: 1rem;
    font-weight: 700 !important;
    color: var(--text-dark);
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vault-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.vault-card-customer {
    font-weight: 700 !important;
    color: var(--primary);
}

.vault-card-actions {
    display: flex;
    border-top: 1px solid #f1f5f9;
    background: #fcfcfc;
}

.vault-action-btn {
    flex: 1;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.vault-action-btn:hover {
    background: #f1f5f9;
    color: var(--primary);
}

.vault-action-btn.delete:hover {
    background: #fef2f2;
    color: #ef4444;
}

.vault-action-btn + .vault-action-btn {
    border-left: 1px solid #f1f5f9;
}
