:root {
    --primary-color: #1343A1;
    --secondary-color: #4398D1;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background-color: #f5f7fa;
    color: #333;
}

.navbar {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.75rem 1rem;
}

.navbar-brand img {
    height: 40px;
    transition: var(--transition);
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-item {
    margin: 0 3px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: var(--transition);
}

.nav-link:hover {
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.2);
}

.nav-link i {
    margin-right: 6px;
}

.user-dropdown {
    width: 35px;
    height: 35px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.dropdown-menu {
    border: none;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
    padding: 0.6rem 1rem;
    transition: var(--transition);
}

.dropdown-item:hover {
    background-color: rgba(67, 152, 209, 0.1);
}

.main-content {
    padding: 2rem 1rem;
    min-height: calc(100vh - 140px);
}

.welcome-section {
    background: linear-gradient(135deg, #fff, #f8f9fa);
    border-radius: 12px;
    padding: 3rem 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    text-align: center;
}

.welcome-section h1 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.welcome-section p {
    color: #666;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.welcome-section .logo {
    max-width: 150px;
    margin-bottom: 1.5rem;
}

.feature-card {
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    margin-bottom: 1.5rem;
    transition: var(--transition);
    border-left: 4px solid var(--secondary-color);
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(67, 152, 209, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-right: 1.5rem;
}

.feature-content h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.feature-content p {
    margin-bottom: 0;
    color: #777;
}

.footer {
    background-color: #1E56AC;
    padding: 1.2rem 0;
    border-top: 1px solid #eee;
    color: #fff;
    font-size: 0.9rem;
}

.info-banner {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.info-banner h3 {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #fff;
}

.info-banner p {
    margin-bottom: 0;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .navbar-brand span {
        display: none;
    }

    .welcome-section {
        padding: 2rem 1rem;
    }

    .feature-card {
        flex-direction: column;
        text-align: center;
    }

    .feature-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

.wizard-header {
    background-color: rgba(19, 67, 161, 0.05);
    border-left: 4px solid var(--primary-color);
    padding: 15px;
    margin-bottom: 25px;
    border-radius: 4px;
}

.wizard-step-counter {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
    font-weight: 600;
}

.wizard-card {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.wizard-card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.wizard-subtitle {
    color: var(--secondary-color);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.wizard-table {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.wizard-table thead {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.wizard-table th {
    font-weight: 500;
    padding: 12px 15px;
    border: none;
}

.wizard-table td {
    padding: 10px 15px;
    border-color: #edf2f9;
    vertical-align: middle;
}

.wizard-table tbody tr:hover {
    background-color: rgba(67, 152, 209, 0.05);
}

.preview-table {
    max-height: 400px;
    overflow-y: auto;
}

.import-summary {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.05);
}

.import-summary ul {
    margin-bottom: 0;
    padding-left: 20px;
}

.form-file-custom {
    position: relative;
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background-color: rgba(67, 152, 209, 0.02);
}

.form-file-custom:hover {
    border-color: var(--secondary-color);
    background-color: rgba(67, 152, 209, 0.05);
}

.form-file-custom input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.progress-wizard {
    display: flex;
    margin-bottom: 25px;
}

.progress-step {
    flex: 1;
    text-align: center;
    position: relative;
}

.progress-step:not(:last-child):after {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    width: 100%;
    height: 3px;
    background-color: #e9ecef;
    z-index: 1;
}

.progress-step.active:not(:last-child):after {
    background-color: var(--secondary-color);
}

.step-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #e9ecef;
    color: #6c757d;
    position: relative;
    z-index: 2;
    margin: 0 auto 8px;
    transition: all 0.3s ease;
}

.step-icon i {
    font-size: 18px;
}

.progress-step.active .step-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.progress-step.completed .step-icon {
    background-color: #28a745;
    color: white;
}

.step-label {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
}

.progress-step.active .step-label {
    color: var(--primary-color);
    font-weight: 600;
}

.btn-wizard {
    min-width: 120px;
}

.alert-wizard {
    border-left: 4px solid;
    border-radius: 4px;
}

.alert-wizard.alert-info {
    border-left-color: var(--secondary-color);
}

.alert-wizard.alert-warning {
    border-left-color: #ffc107;
}

.alert-wizard.alert-success {
    border-left-color: #28a745;
}

.alert-wizard.alert-danger {
    border-left-color: #dc3545;
}

.select2-container--default .select2-selection--single {
    height: 38px !important;
    padding: 5px !important;
    border: 1px solid #ced4da !important;
    border-radius: 0.25rem !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px !important;
}

@media (max-width: 768px) {
    .progress-wizard {
        flex-direction: column;
        align-items: flex-start;
    }

    .progress-step {
        display: flex;
        align-items: center;
        margin-bottom: 10px;
        width: 100%;
    }

    .progress-step:not(:last-child):after {
        display: none;
    }

    .step-icon {
        margin: 0 10px 0 0;
    }
}