/* URL Content Mapper Admin Styles */
.urlcoma-category-container {
    border: 1px solid #ccc;
    padding: 10px;
    margin-bottom: 10px;
    background: #f9f9f9;
    border-radius: 5px;
}

.urlcoma-url-item {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}

button.urlcoma-remove-category {
    background: #ff4d4d;
    color: white;
    border: none;
    padding: 5px 10px;
    margin-top: 5px;
    cursor: pointer;
    border-radius: 3px;
}

button.urlcoma-remove-category:hover {
    background: #cc0000;
}

button.urlcoma-add-url {
    background: #0073aa;
    color: white;
    border: none;
    padding: 5px 10px;
    margin-top: 5px;
    cursor: pointer;
    border-radius: 3px;
}

button.urlcoma-add-url:hover {
    background: #005177;
}

/* Import/Export Section Styles */
.urlcoma-import-export-section {
    background: #fff;
    border: 1px solid #c3c4c7;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
    margin: 20px 0;
    padding: 20px;
    border-radius: 3px;
}

.urlcoma-import-export-section h3 {
    margin-top: 0;
    border-bottom: 1px solid #e1e1e1;
    padding-bottom: 10px;
}

.urlcoma-export-section,
.urlcoma-import-section {
    margin: 20px 0;
    padding: 15px;
    background: #f9f9f9;
    border-left: 4px solid #00a0d2;
    border-radius: 3px;
}

.urlcoma-export-section h4,
.urlcoma-import-section h4 {
    margin-top: 0;
    color: #23282d;
}

.urlcoma-export-section p,
.urlcoma-import-section p {
    margin-bottom: 15px;
    color: #646970;
}

.urlcoma-import-section .form-table {
    margin-top: 15px;
}

.urlcoma-import-section .form-table th {
    width: 200px;
    font-weight: 600;
}

.urlcoma-import-section input[type="file"] {
    width: 100%;
    max-width: 400px;
}

.urlcoma-import-section select {
    width: 300px;
}

/* File info display */
#urlcoma-file-info {
    margin-top: 10px;
    padding: 8px 12px;
    background: #e7f3ff;
    border-left: 4px solid #00a0d2;
    font-size: 13px;
}

#urlcoma-file-info p {
    margin: 0;
    color: #0073aa;
}

/* Button styling for import/export */
.urlcoma-export-section .button,
.urlcoma-import-section .button {
    margin-top: 10px;
}

/* Responsive adjustments */
@media screen and (max-width: 782px) {
    .urlcoma-import-export-section {
        margin: 10px 0;
        padding: 15px;
    }
    
    .urlcoma-export-section,
    .urlcoma-import-section {
        margin: 15px 0;
        padding: 10px;
    }
    
    .urlcoma-import-section .form-table th,
    .urlcoma-import-section .form-table td {
        display: block;
        width: 100%;
        padding: 10px 0;
    }
    
    .urlcoma-import-section input[type="file"],
    .urlcoma-import-section select {
        width: 100%;
    }
}
