/* Employer Profile Modal - Professional Design with Unique Classes */
.employer-modal-wrapper .modal-content {
    border-radius: 24px;
    border: none;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.12), 0 16px 32px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    background: transparent;
}

.employer-popup-container {
    position: relative;
    background: #ffffff;
    font-family: "Inter", "Segoe UI", system-ui, sans-serif;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

/* Professional Close Button */
.employer-popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.employer-popup-close:hover {
    background: rgba(255, 76, 75, 0.1);
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 8px 24px rgba(255, 76, 75, 0.2);
}

.employer-popup-close i {
    font-size: 18px;
    color: #ff4c4b;
    font-weight: 600;
}

/* Premium Header Design */
.employer-popup-header {
    background: linear-gradient(135deg, #ff4c4b 0%, #ff6b6b 50%, #ff8a80 100%);
    padding: 12px 16px;
    position: relative;
    overflow: hidden;
}

.employer-popup-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
            circle at 20% 80%,
            rgba(255, 255, 255, 0.1) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 80% 20%,
            rgba(255, 255, 255, 0.1) 0%,
            transparent 50%
        );
    pointer-events: none;
}

.employer-popup-header::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 49%,
        rgba(255, 255, 255, 0.03) 50%,
        transparent 51%
    );
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.employer-popup-header-content {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 12px;
}

.employer-popup-avatar {
    position: relative;
    flex-shrink: 0;
}

.employer-popup-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.employer-popup-avatar:hover img {
    transform: scale(1.05);
}

.employer-popup-main-info {
    flex: 1;
    color: white;
}

.employer-popup-company-name {
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 4px 0;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.3px;
}

.employer-popup-industry {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 1px 9px;
    border-radius: 16px;
    display: inline-block;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.employer-popup-location-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
}

.employer-popup-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    opacity: 0.9;
    font-weight: 500;
}

.employer-popup-location i {
    color: rgba(255, 255, 255, 0.8);
    font-size: 11px;
}

.employer-popup-rating-text {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.employer-popup-rating-text span {
    font-weight: 700;
    color: #fbbf24;
}

/* Elite Stats Section */
.employer-popup-stats {
    background: linear-gradient(135deg, #f7f7f7f7 0%, #f1f5f9 100%);
    padding: 12px 16px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.employer-stat-item {
    text-align: center;
    padding: 8px 6px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(226, 232, 240, 0.5);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.employer-stat-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(135deg, #ff4c4b, #ff6b6b);
}

.employer-stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 76, 75, 0.15);
}

.employer-stat-number {
    font-size: 16px;
    font-weight: 800;
    color: #ff4c4b;
    margin-bottom: 2px;
    background: linear-gradient(135deg, #ff4c4b, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.employer-stat-label {
    font-size: 10px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 700;
}

/* Modern Content Grid */
.employer-popup-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background: #f7f7f7f7;
}

.employer-popup-section {
    background: white;
    padding: 16px;
    position: relative;
}

.employer-section-title {
    font-size: 14px;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 16px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #ff4c4b;
    display: inline-block;
    position: relative;
}

.employer-section-title::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(135deg, #ff4c4b, #ff6b6b);
    border-radius: 1px;
}

/* Company Information Design */
.employer-company-info {
    display: grid;
    gap: 8px;
}

.employer-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: linear-gradient(135deg, #f7f7f7f7, #f1f5f9);
    border-radius: 8px;
    border-left: 2px solid #ff4c4b;
    transition: all 0.3s ease;
}

.employer-info-item:hover {
    background: linear-gradient(135deg, #f1f5f9, #f7f7f7f7);
    transform: translateX(2px);
}

.employer-info-item i {
    color: #ff4c4b;
    width: 14px;
    text-align: center;
    font-size: 11px;
}

.employer-info-item span {
    color: #334155;
    font-weight: 600;
    font-size: 11px;
}

/* Expertise Item Design */
.employer-info-item.expertise-item {
    align-items: flex-start;
    padding: 8px 10px;
}

.expertise-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.expertise-label {
    color: #64748b;
    font-weight: 600;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.expertise-tag {
    background: linear-gradient(135deg, #ff4c4b, #ff6b6b);
    color: white;
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 1px 3px rgba(255, 76, 75, 0.2);
    transition: all 0.3s ease;
}

.expertise-tags .expertise-tag {
    color: white !important;
    font-size: 8px !important;
    text-transform: capitalize !important;
}

.expertise-tag:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(255, 76, 75, 0.3);
}

.expertise-no-data {
    color: #94a3b8;
    font-style: italic;
    font-size: 10px;
    font-weight: 500;
}

/* Projects & Reviews Sections */
.employer-projects-list,
.employer-reviews-list {
    margin-top: 8px;
}

.employer-project-card {
    background: linear-gradient(135deg, #f7f7f7f7, #f1f5f9);
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 8px;
    border-left: 3px solid #ff4c4b;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.employer-project-card:hover {
    background: linear-gradient(135deg, #f1f5f9, #f7f7f7f7);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-left-color: #ff6b6b;
}

.employer-project-card:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.employer-project-card:hover {
    background: linear-gradient(135deg, #f1f5f9, #f7f7f7f7);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.employer-project-title {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.employer-project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.employer-project-price {
    font-size: 13px;
    font-weight: 800;
    color: #059669;
}

.employer-project-status {
    font-size: 10px;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.employer-project-status.completed {
    background: #dcfce7;
    color: #166534;
}

.employer-project-status.ongoing {
    background: #fef3c7;
    color: #92400e;
}

.employer-project-status.new {
    background: #dbeafe;
    color: #1e40af;
}

.employer-project-status.active {
    background: #dcfce7;
    color: #166534;
    position: relative;
    padding-left: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.employer-project-status.active:hover {
    background: #bbf7d0;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(22, 101, 52, 0.2);
}

.employer-project-status.active:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(22, 101, 52, 0.15);
}

.employer-project-status.active::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #059669;
    border-radius: 50%;
    animation: activeDotPulse 1.5s ease-in-out infinite;
}

@keyframes activeDotPulse {
    0%,
    100% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
    50% {
        opacity: 0.7;
        transform: translateY(-50%) scale(1.3);
    }
}

.employer-project-status.expired {
    background: #fee2e2;
    color: #dc2626;
}

/* Review Cards */
.employer-review-card {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 8px;
    border-left: 3px solid #fbbf24;
    transition: all 0.3s ease;
}

.employer-review-card:hover {
    background: linear-gradient(135deg, #fef3c7, #fed7aa);
    transform: translateY(-2px);
}

.employer-review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.employer-review-stars {
    font-size: 13px;
    display: flex;
    gap: 2px;
}

.employer-review-stars i {
    color: #fbbf24;
}

.employer-review-date {
    font-size: 11px;
    color: #78716c;
    font-weight: 600;
}

.employer-review-text {
    font-size: 13px;
    color: #57534e;
    line-height: 1.5;
    font-style: italic;
    margin: 0;
}

/* Premium Action Footer */
.employer-popup-footer {
    padding: 10px 16px;
    background: linear-gradient(135deg, #f7f7f7f7, #f1f5f9);
    text-align: center;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.employer-view-profile-btn {
    background: linear-gradient(135deg, #ff4c4b 0%, #ff6b6b 100%);
    color: white;
    padding: 8px 18px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.3px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(255, 76, 75, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    border: 2px solid transparent;
}

.employer-view-profile-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 32px rgba(255, 76, 75, 0.4);
    color: white;
    text-decoration: none;
    border-color: rgba(255, 255, 255, 0.3);
}

.employer-view-profile-btn i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.employer-view-profile-btn:hover i {
    transform: translateX(4px);
}

/* Empty States */
.employer-no-data {
    text-align: center;
    color: #94a3b8;
    font-style: italic;
    padding: 24px;
    font-size: 13px;
    font-weight: 500;
}

/* Custom Scrollbars */
.employer-projects-list::-webkit-scrollbar,
.employer-reviews-list::-webkit-scrollbar {
    width: 6px;
}

.employer-projects-list::-webkit-scrollbar-track,
.employer-reviews-list::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 6px;
}

.employer-projects-list::-webkit-scrollbar-thumb,
.employer-reviews-list::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ff4c4b, #ff6b6b);
    border-radius: 6px;
}

.employer-projects-list::-webkit-scrollbar-thumb:hover,
.employer-reviews-list::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #ff6b6b, #ff8a80);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .employer-popup-stats {
        gap: 16px;
    }

    .employer-popup-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .employer-popup-header {
        padding: 24px;
    }

    .employer-popup-header-content {
        gap: 10px;
    }

    .employer-popup-company-name {
        font-size: 18px;
    }

    .employer-popup-avatar img {
        width: 48px;
        height: 48px;
    }

    .employer-popup-stats {
        padding: 20px;
        gap: 12px;
    }

    .employer-popup-section {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .employer-popup-container {
        max-height: 84vh;
    }

    .employer-popup-header {
        padding: 20px;
    }

    .employer-popup-header-content {
        gap: 8px;
    }

    .employer-popup-company-name {
        font-size: 16px;
    }

    .employer-popup-avatar img {
        width: 44px;
        height: 44px;
    }

    .employer-popup-stats {
        padding: 16px;
    }

    .employer-popup-section {
        padding: 16px;
    }

    .employer-popup-footer {
        padding: 20px;
    }
}
