/* ImportBank CSS */

.importbank-container {
    margin: 20px 0;
}

.importbank-header {
    margin-bottom: 20px;
}

.importbank-preview-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.importbank-preview-table th,
.importbank-preview-table td {
    padding: 8px;
    text-align: left;
    border: 1px solid #ddd;
}

.importbank-preview-table th {
    background-color: #f2f2f2;
    font-weight: bold;
}

.importbank-preview-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.importbank-preview-table tr:hover {
    background-color: #f5f5f5;
}

.importbank-mapping-form {
    margin-bottom: 20px;
}

.importbank-mapping-form select {
    width: 100%;
    padding: 6px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.importbank-actions {
    margin-top: 20px;
    text-align: right;
}

.importbank-checkbox {
    margin-right: 5px;
}

.importbank-file-input {
    margin-bottom: 10px;
}

.importbank-separator-select {
    margin-bottom: 10px;
}

.importbank-date-format-select {
    margin-bottom: 10px;
}

.importbank-header-lines-input {
    width: 60px;
}

.importbank-account-select {
    margin-bottom: 15px;
}

.importbank-preview-controls {
    margin-bottom: 15px;
}

.importbank-preview-controls button {
    margin-right: 10px;
}

.importbank-import-results {
    margin-top: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.importbank-success {
    color: #28a745;
}

.importbank-warning {
    color: #ffc107;
}

.importbank-error {
    color: #dc3545;
}

.importbank-info {
    color: #17a2b8;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .importbank-preview-table {
        display: block;
        overflow-x: auto;
    }
    
    .importbank-actions {
        text-align: center;
    }
    
    .importbank-actions button {
        width: 100%;
        margin-bottom: 10px;
    }
}
