.body{
     font-family: 'Poppins', sans-serif;
}
/* Custom styles with unique class names to avoid conflicts */
.ec-header {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 24px;
    margin-bottom: 24px;
    border-left: 4px solid #4f46e5;
}

.ec-header-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

@media (min-width: 768px) {
    .ec-header-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.ec-header-text {
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .ec-header-text {
        margin-bottom: 0;
    }
}

.ec-title {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.ec-subtitle {
    font-size: 14px;
    color: #64748b;
    margin-top: 4px;
}

.ec-add-btn-wrapper {
    display: block;
    width: 100%;
}

@media (min-width: 768px) {
    .ec-add-btn-wrapper {
        width: auto;
    }
}

.ec-add-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px 20px;
    background: linear-gradient(to right, #3b82f6, #4f46e5);
    color: white;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .ec-add-btn {
        width: auto;
    }
}

.ec-add-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 10px -1px rgba(59, 130, 246, 0.3);
}

.ec-add-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

/* Stats Grid */
.ec-stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .ec-stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.ec-stat-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 24px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ec-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.ec-stat-blue {
    border-left: 4px solid #3b82f6;
}

.ec-stat-green {
    border-left: 4px solid #10b981;
}

.ec-stat-yellow {
    border-left: 4px solid #f59e0b;
}

.ec-stat-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.ec-blue-gradient {
    background: linear-gradient(135deg, #3b82f6, #4f46e5);
}

.ec-green-gradient {
    background: linear-gradient(135deg, #10b981, #059669);
}

.ec-yellow-gradient {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.ec-stat-icon {
    width: 24px;
    height: 24px;
    color: white;
}

.ec-stat-content {
    flex-grow: 1;
}

.ec-stat-label {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 4px 0;
    font-weight: 500;
}

.ec-stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

/* Empty State */
.ec-empty-state {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 48px 24px;
    text-align: center;
    border: 1px solid #f1f5f9;
}

.ec-empty-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #4f46e5);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.2);
}

.ec-empty-icon {
    width: 40px;
    height: 40px;
    color: white;
}

.ec-empty-title {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px 0;
}

.ec-empty-text {
    font-size: 16px;
    color: #64748b;
    margin: 0 auto 24px auto;
    max-width: 400px;
}

.ec-empty-btn-wrapper {
    display: inline-block;
}

.ec-empty-btn {
    display: flex;
    align-items: center;
    padding: 12px 24px;
    background: linear-gradient(to right, #3b82f6, #4f46e5);
    color: white;
    border-radius: 8px;
    font-weight: 500;
    font-size: 16px;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
}

.ec-empty-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.3);
}

.ec-empty-btn-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

/* Company Grid */
.ec-company-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .ec-company-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .ec-company-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1280px) {
    .ec-company-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.ec-company-card {
    background-color: #f8fafc;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
}

.ec-company-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.15), 0 4px 6px -2px rgba(59, 130, 246, 0.1);
    border-color: #bfdbfe;
}

.ec-company-card:nth-child(4n+1) {
    background: linear-gradient(to bottom right, #f0f9ff, #f8fafc);
    border-top: 3px solid #3b82f6;
}

.ec-company-card:nth-child(4n+2) {
    background: linear-gradient(to bottom right, #f0fdf4, #f8fafc);
    border-top: 3px solid #10b981;
}

.ec-company-card:nth-child(4n+3) {
    background: linear-gradient(to bottom right, #fef2f2, #f8fafc);
    border-top: 3px solid #ef4444;
}

.ec-company-card:nth-child(4n+4) {
    background: linear-gradient(to bottom right, #fffbeb, #f8fafc);
    border-top: 3px solid #f59e0b;
}

.ec-company-image-container {
    position: relative;
    height: 160px;
    overflow: hidden;
    background-color: white;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.ec-company-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.ec-company-card:hover .ec-company-image {
    transform: scale(1.1);
}

.ec-status-badge-wrapper {
    position: absolute;
    top: 16px;
    right: 16px;
}

.ec-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.ec-status-pending {
    background: linear-gradient(to right, #f59e0b, #d97706);
    color: white;
}

.ec-status-approved {
    background: linear-gradient(to right, #10b981, #059669);
    color: white;
}

.ec-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 6px;
}

.ec-pending-dot {
    background-color: white;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}

.ec-approved-dot {
    background-color: white;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}

.ec-company-content {
    padding: 20px;
}

.ec-company-title-link {
    display: block;
    text-decoration: none;
}

.ec-company-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 12px 0;
    transition: color 0.2s ease;
}

.ec-company-card:nth-child(4n+1) .ec-company-title:hover {
    color: #3b82f6;
}

.ec-company-card:nth-child(4n+2) .ec-company-title:hover {
    color: #10b981;
}

.ec-company-card:nth-child(4n+3) .ec-company-title:hover {
    color: #ef4444;
}

.ec-company-card:nth-child(4n+4) .ec-company-title:hover {
    color: #f59e0b;
}

.ec-company-description {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 20px 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ec-company-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid rgba(226, 232, 240, 0.6);
}

.ec-edit-btn, .ec-delete-btn {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.ec-edit-btn {
    color: #3b82f6;
    background-color: rgba(239, 246, 255, 0.7);
}

.ec-edit-btn:hover {
    background-color: #dbeafe;
    color: #2563eb;
}

.ec-delete-btn {
    color: #ef4444;
    background-color: rgba(254, 242, 242, 0.7);
}

.ec-delete-btn:hover {
    background-color: #fee2e2;
    color: #dc2626;
}

.ec-action-icon {
    width: 16px;
    height: 16px;
    margin-right: 6px;
}

/* Pagination */
.ec-pagination-wrapper {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

/* Style the Laravel pagination */
.ec-pagination-wrapper nav {
    display: inline-flex;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.ec-pagination-wrapper nav > div {
    display: flex;
    align-items: center;
}

.ec-pagination-wrapper nav span.relative,
.ec-pagination-wrapper nav a.relative {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #4b5563;
    background-color: white;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.ec-pagination-wrapper nav span.relative:hover,
.ec-pagination-wrapper nav a.relative:hover {
    background-color: #f8fafc;
    z-index: 10;
}

.ec-pagination-wrapper nav span[aria-current="page"] {
    background: linear-gradient(135deg, #3b82f6, #4f46e5);
    color: white;
    border-color: #4f46e5;
    font-weight: 600;
    z-index: 20;
}

.ec-pagination-wrapper nav span.relative:first-child,
.ec-pagination-wrapper nav a.relative:first-child {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.ec-pagination-wrapper nav span.relative:last-child,
.ec-pagination-wrapper nav a.relative:last-child {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}
