/* CLEM backup.css */

.backup-zone {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
.backup-card {
    flex: 1;
    min-width: 240px;
    background: #fff;
    border-radius: 8px;
    padding: 1.25rem;
    box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.backup-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1e3a5f;
    margin-bottom: .75rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.drop-zone {
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    color: #9ca3af;
    font-size: .9rem;
    cursor: pointer;
    transition: border-color .2s, background .2s;
    margin-bottom: .75rem;
}
.drop-zone.drag-over {
    border-color: #1e3a5f;
    background: #eff6ff;
    color: #1e3a5f;
}
.drop-zone input[type="file"] {
    display: none;
}
.drop-zone-icon { font-size: 1.75rem; margin-bottom: .4rem; }

.backup-list { margin-top: 1rem; }
.backup-list-title {
    font-size: .88rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: .5rem;
}
.backup-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .45rem .6rem;
    border-radius: 5px;
    margin-bottom: .3rem;
    font-size: .84rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}
.backup-item-name { flex: 1; color: #374151; font-family: monospace; font-size: .82rem; }
.backup-item-size { color: #9ca3af; margin: 0 .75rem; }
.btn-restore {
    padding: .2rem .55rem;
    font-size: .78rem;
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #f59e0b;
    border-radius: 4px;
    cursor: pointer;
}
.btn-restore:hover { background: #f59e0b; color: #fff; }

.import-confirm-modal .clem-modal-body {
    border-top: 4px solid #f59e0b;
}
.import-warning {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 6px;
    padding: .75rem 1rem;
    color: #92400e;
    font-size: .88rem;
    margin-bottom: 1rem;
}

.backup-status {
    font-size: .85rem;
    margin-top: .5rem;
    min-height: 1.2rem;
}
.backup-status.ok   { color: #059669; }
.backup-status.err  { color: #dc2626; }
.backup-status.info { color: #1e40af; }
