/* Estilos específicos para página de Backup */

.backup-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.backup-section {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.backup-section h3 {
    color: #0a7a83;
    margin-bottom: 20px;
    font-size: 1.5em;
}

.backup-info {
    margin-bottom: 20px;
}

.backup-info p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.info-box {
    background: #e7f3ff;
    border-left: 4px solid #2196F3;
    padding: 15px;
    border-radius: 5px;
    margin-top: 15px;
}

.info-box strong {
    color: #1976D2;
    display: block;
    margin-bottom: 10px;
}

.info-box ul {
    margin: 10px 0 0 20px;
    color: #555;
}

.info-box li {
    margin: 5px 0;
}

.warning-box {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 15px;
    border-radius: 5px;
    margin-top: 15px;
}

.warning-box strong {
    color: #856404;
    display: block;
    margin-bottom: 10px;
}

.warning-box ul {
    margin: 10px 0 0 20px;
    color: #856404;
}

.warning-box li {
    margin: 5px 0;
}

.backup-stats,
.backup-preview {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
}

.backup-stats h4,
.backup-preview h4 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.backup-stats .stat-item,
.backup-preview .stat-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
}

.backup-stats .stat-item:last-child,
.backup-preview .stat-item:last-child {
    border-bottom: none;
}

.backup-stats .stat-label,
.backup-preview .stat-label {
    color: #666;
    font-weight: 600;
}

.backup-stats .stat-value,
.backup-preview .stat-value {
    color: #333;
}

.file-input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0;
}

.btn-file {
    cursor: pointer;
    display: inline-block;
    text-align: center;
    padding: 12px 20px;
}

.btn-file:hover {
    background: #5a67d8;
    color: white;
}

.nome-arquivo {
    color: #666;
    font-size: 0.9em;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 5px;
    border: 1px solid #e0e0e0;
}

.btn-large {
    padding: 14px 30px;
    font-size: 1.1em;
}

.btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

.mensagem-sucesso {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #c3e6cb;
    margin: 15px 0;
    font-weight: 600;
}

.mensagem-erro {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #f5c6cb;
    margin: 15px 0;
    font-weight: 600;
}

.storage-info {
    margin-top: 10px;
}

.storage-section {
    margin-bottom: 20px;
}

.storage-section h5 {
    color: #0a7a83;
    margin-bottom: 15px;
    font-size: 1.1em;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 8px;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background-color: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 10px;
}

.progress-fill {
    height: 100%;
    transition: width 0.3s ease;
    border-radius: 10px;
}

.text-warning {
    color: #ff6b6b;
    font-weight: bold;
}

.btn-info {
    background: #17a2b8;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background 0.3s;
}

.btn-info:hover {
    background: #138496;
}

/* Responsividade */
@media (max-width: 1200px) {
    .backup-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .backup-section {
        padding: 20px;
    }
    
    .file-input-wrapper {
        flex-direction: column;
    }
}







