/* Import/Export Page Styling */

.import-export-container {
    padding: 30px 0;
}

.import-export-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e5e5e5;
}

.import-export-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.import-export-header h2 i {
    color: #ed174f;
    font-size: 32px;
}

/* Alert Styling */
.uk-alert-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    border-radius: 8px;
    padding: 15px 20px;
}

.uk-alert-warning {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    border-radius: 8px;
    padding: 15px 20px;
}

/* Card Styling */
.import-export-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
}

.import-export-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.import-export-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.import-export-card h3 i {
    color: #ed174f;
    font-size: 24px;
}

.import-export-card .uk-text-meta {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* Statistics Box */
.stats-box {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.stats-box h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.stats-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.stats-box ul li {
    padding: 8px 0;
    font-size: 15px;
    color: #555;
    border-bottom: 1px solid #e5e5e5;
}

.stats-box ul li:last-child {
    border-bottom: none;
}

.stats-box ul li strong {
    color: #ed174f;
    font-weight: 600;
}

/* File Upload Styling */
.file-upload-wrapper {
    position: relative;
    margin: 20px 0;
}

.file-upload-wrapper input[type="file"] {
    display: none;
}

.file-upload-label {
    display: block;
    padding: 40px 20px;
    border: 2px dashed #ddd;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fafafa;
}

.file-upload-label:hover {
    border-color: #ed174f;
    background: #fff;
}

.file-upload-label i {
    font-size: 48px;
    color: #ed174f;
    display: block;
    margin-bottom: 10px;
}

.file-upload-label span {
    display: block;
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

/* Form Elements */
.uk-form-label {
    font-weight: 600;
    color: #333;
    font-size: 14px;
    margin-bottom: 8px;
    display: block;
}

.uk-input {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.uk-input:focus {
    border-color: #ed174f;
    outline: none;
    box-shadow: 0 0 0 3px rgba(237, 23, 79, 0.1);
}

/* Buttons */
.uk-button {
    border-radius: 6px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.uk-button-primary {
    background: #ed174f;
    color: #fff;
    border: none;
}

.uk-button-primary:hover {
    background: #c91342;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(237, 23, 79, 0.3);
}

.uk-button-default {
    background: #fff;
    color: #333;
    border: 1px solid #ddd;
}

.uk-button-default:hover {
    background: #f8f9fa;
    border-color: #ed174f;
    color: #ed174f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.uk-button i {
    font-size: 16px;
}

/* Info Boxes */
.info-box {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    border-radius: 6px;
    padding: 20px;
    margin: 20px 0;
}

.info-box h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1976d2;
    margin-bottom: 12px;
}

.info-box ul {
    margin: 0;
    padding-left: 20px;
}

.info-box ul li {
    color: #555;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 6px;
}

/* Sample Template Box */
.template-box {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 25px;
    margin-top: 30px;
}

.template-box h3 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.template-box h3 i {
    color: #ed174f;
}

.template-box pre {
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 20px;
    overflow-x: auto;
    font-size: 13px;
    line-height: 1.6;
    color: #333;
    margin-top: 15px;
}

/* Text Helpers */
.uk-text-small {
    font-size: 13px;
    line-height: 1.6;
}

.uk-text-muted {
    color: #999;
}

/* Responsive */
@media (max-width: 960px) {
    .import-export-card {
        margin-bottom: 20px;
    }
    
    .import-export-header h2 {
        font-size: 24px;
    }
    
    .uk-button {
        width: 100%;
        justify-content: center;
        margin-bottom: 10px;
    }
}

/* Image Preview Box */
.image-preview-box {
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    background: #fafafa;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-preview-box img {
    max-width: 200px;
    max-height: 200px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.image-preview-box p {
    margin: 0;
    color: #999;
}

/* Select Dropdown */
.uk-select {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fff;
}

.uk-select:focus {
    border-color: #ed174f;
    outline: none;
    box-shadow: 0 0 0 3px rgba(237, 23, 79, 0.1);
}

/* Responsive */
@media (max-width: 960px) {
    .import-export-card {
        margin-bottom: 20px;
    }
    
    .import-export-header h2 {
        font-size: 24px;
    }
    
    .uk-button {
        width: 100%;
        justify-content: center;
        margin-bottom: 10px;
    }
}

@media (max-width: 640px) {
    .import-export-container {
        padding: 20px 0;
    }
    
    .import-export-card {
        padding: 20px;
    }
    
    .import-export-header h2 {
        font-size: 20px;
    }
    
    .file-upload-label {
        padding: 30px 15px;
    }
    
    .file-upload-label i {
        font-size: 36px;
    }
}
