/* assets/css/pages/careers.css - Careers page styles (shared styles: assets/css/public-layout.css) */

body.dark .navbar,
body.dark .footer,
body.dark .card,
body.dark .benefit-card,
body.dark .pill-role,
body.dark .cta-box,
body.dark .sidebar-overlay,
body.dark .sidebar,
body.dark .who-card,
body.dark .job-card,
body.dark .culture-card,
body.dark .stat-card,
body.dark .job-modal,
body.dark .share-popup {
    background: #1e293b !important;
    color: #e2e8f0 !important;
    border-color: #334155 !important;
}

body.dark .ai-chat-input input::placeholder {
    color: #94a3b8 !important;
}

body.dark .job-card .job-badge {
    background: #2d3a52 !important;
    color: #7aa9ff !important;
}

body.dark .culture-card .culture-icon {
    background: #2d3a52 !important;
    color: #7aa9ff !important;
}

body.dark .stat-card .stat-number {
    color: #7aa9ff !important;
}

body.dark .stat-card .stat-label {
    color: #94a3b8 !important;
}

body.dark .job-modal .modal-content {
    background: #1e293b !important;
    color: #e2e8f0 !important;
}

body.dark .job-modal .modal-close {
    color: #94a3b8 !important;
}

body.dark .job-modal .modal-close:hover {
    color: #e2e8f0 !important;
}

body.dark .job-modal .modal-detail-item {
    border-color: #334155 !important;
}

body.dark .job-modal .modal-detail-item i {
    color: #7aa9ff !important;
}

body.dark .share-popup .share-close {
    color: #94a3b8 !important;
}

body.dark .share-popup .share-close:hover {
    color: #e2e8f0 !important;
}

body.dark .share-popup .share-link-input {
    background: #0f172a !important;
    color: #e2e8f0 !important;
    border-color: #334155 !important;
}

body.dark .share-popup .share-btn {
    background: #2d3a52 !important;
}

body.dark .share-popup .share-btn:hover {
    background: #3d4a62 !important;
}

.btn-sm {
    padding: 0.4rem 1.2rem;
    font-size: 0.85rem;
}

.btn-success {
    background: #22c55e;
    color: #fff;
}

.btn-success:hover {
    background: #16a34a;
    transform: scale(1.02);
}

body.dark .btn-outline {
    border-color: #475569;
    color: #e2e8f0;
}

body.dark .btn-outline:hover {
    background: #2d3a52;
}

.share-btn-icon {
    background: none;
    border: 1px solid #dde3ed;
    border-radius: 40px;
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
    color: #4a5c72;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.share-btn-icon:hover {
    background: #edf4fe;
    border-color: #0d6efd;
    color: #0d6efd;
}

body.dark .share-btn-icon {
    border-color: #475569;
    color: #94a3b8;
}

body.dark .share-btn-icon:hover {
    background: #2d3a52;
    border-color: #7aa9ff;
    color: #7aa9ff;
}

/* ============================================================
   PAGE HEADER
   ============================================================ */

.page-header {
    padding: 30px 0 20px;
    background: #f6f9fc;
    border-bottom: 1px solid rgba(13, 110, 253, 0.08);
    transition: background 0.3s;
}

body.dark .page-header {
    background: #0f172a;
}

.page-header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.page-header p {
    font-size: 1.05rem;
    color: #4a5c72;
}

body.dark .page-header p {
    color: #94a3b8;
}

.page-header .breadcrumb {
    display: flex;
    gap: 8px;
    font-size: 0.9rem;
    color: #4a5c72;
    margin-top: 6px;
}

body.dark .page-header .breadcrumb {
    color: #94a3b8;
}

.page-header .breadcrumb a {
    color: #0d6efd;
}

.page-header .breadcrumb a:hover {
    text-decoration: underline;
}

/* ============================================================
   JOB STATS
   ============================================================ */

.stats-section {
    padding: 20px 0 30px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(13, 110, 253, 0.06);
    padding: 24px 20px;
    text-align: center;
    transition: all 0.25s ease;
}

body.dark .stat-card {
    background: #1e293b;
    border-color: #334155;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.stat-card .stat-number {
    font-size: 2.4rem;
    font-weight: 700;
    color: #0d6efd;
    display: block;
}

body.dark .stat-card .stat-number {
    color: #7aa9ff;
}

.stat-card .stat-label {
    font-size: 0.9rem;
    color: #4a5c72;
}

body.dark .stat-card .stat-label {
    color: #94a3b8;
}

/* ============================================================
   CULTURE SECTION
   ============================================================ */

.culture-section {
    padding: 20px 0 40px;
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.culture-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(13, 110, 253, 0.06);
    padding: 28px 24px;
    text-align: center;
    transition: all 0.25s ease;
}

.culture-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.culture-card .culture-icon {
    width: 64px;
    height: 64px;
    background: #edf4fe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0d6efd;
    font-size: 1.8rem;
    margin: 0 auto 12px;
}

.culture-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.culture-card p {
    font-size: 0.9rem;
    color: #4a5c72;
    margin-bottom: 0;
}

body.dark .culture-card p {
    color: #94a3b8;
}

/* ============================================================
   JOB LISTINGS
   ============================================================ */

.jobs-section {
    padding: 20px 0 60px;
}

.jobs-section .section-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 4px;
    text-align: center;
}

.jobs-section .section-sub {
    text-align: center;
    color: #4a5c72;
    margin-bottom: 30px;
}

body.dark .jobs-section .section-sub {
    color: #94a3b8;
}

.job-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(13, 110, 253, 0.06);
    padding: 20px 24px;
    margin-bottom: 16px;
    transition: all 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.job-card:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.job-card .job-info h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.job-card .job-info .job-meta {
    font-size: 0.85rem;
    color: #4a5c72;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

body.dark .job-card .job-info .job-meta {
    color: #94a3b8;
}

.job-card .job-info .job-meta i {
    margin-right: 4px;
    color: #0d6efd;
}

.job-card .job-badge {
    display: inline-block;
    padding: 2px 12px;
    border-radius: 40px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.job-card .job-badge.full-time {
    background: #dcfce7;
    color: #16a34a;
}

.job-card .job-badge.part-time {
    background: #dbeafe;
    color: #2563eb;
}

.job-card .job-badge.remote {
    background: #fef3c7;
    color: #d97706;
}

.job-card .job-badge.contract {
    background: #fce4ec;
    color: #dc2626;
}

.job-card .job-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

/* ============================================================
   SHARE POPUP
   ============================================================ */

.share-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2001;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    padding: 20px;
}

.share-popup.active {
    display: flex;
}

.share-popup .share-content {
    background: #fff;
    border-radius: 20px;
    max-width: 480px;
    width: 100%;
    padding: 32px 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.3s ease-out;
    position: relative;
}

@keyframes modalSlideIn {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.96);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.share-popup .share-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.2s;
    padding: 4px 8px;
    border-radius: 8px;
}

.share-popup .share-close:hover {
    color: #0b1e33;
    background: #f1f5f9;
}

.share-popup .share-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.share-popup .share-subtitle {
    font-size: 0.9rem;
    color: #4a5c72;
    margin-bottom: 16px;
}

body.dark .share-popup .share-subtitle {
    color: #94a3b8;
}

.share-popup .share-link-input {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.share-popup .share-link-input input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.9rem;
    outline: none;
    background: #f8faff;
    color: #0b1e33;
    cursor: text;
}

.share-popup .share-link-input input:focus {
    border-color: #0d6efd;
}

.share-popup .share-link-input .copy-btn {
    padding: 10px 20px;
    background: #0d6efd;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.share-popup .share-link-input .copy-btn:hover {
    background: #0b5ed7;
}

.share-popup .share-link-input .copy-btn.copied {
    background: #22c55e;
}

.share-popup .share-social {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.share-popup .share-social .share-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 40px;
    border: 1px solid #e2e8f0;
    background: #f8faff;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.85rem;
    font-weight: 500;
    color: #0b1e33;
    text-decoration: none;
}

.share-popup .share-social .share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.share-popup .share-social .share-btn i {
    font-size: 1.1rem;
}

.share-popup .share-social .share-btn.linkedin {
    border-color: #0a66c2;
    color: #0a66c2;
}

.share-popup .share-social .share-btn.linkedin:hover {
    background: #0a66c2;
    color: #fff;
}

.share-popup .share-social .share-btn.twitter {
    border-color: #1da1f2;
    color: #1da1f2;
}

.share-popup .share-social .share-btn.twitter:hover {
    background: #1da1f2;
    color: #fff;
}

.share-popup .share-social .share-btn.facebook {
    border-color: #1877f2;
    color: #1877f2;
}

.share-popup .share-social .share-btn.facebook:hover {
    background: #1877f2;
    color: #fff;
}

.share-popup .share-social .share-btn.whatsapp {
    border-color: #25d366;
    color: #25d366;
}

.share-popup .share-social .share-btn.whatsapp:hover {
    background: #25d366;
    color: #fff;
}

.share-popup .share-social .share-btn.email {
    border-color: #ea4335;
    color: #ea4335;
}

.share-popup .share-social .share-btn.email:hover {
    background: #ea4335;
    color: #fff;
}

/* ============================================================
   JOB MODAL
   ============================================================ */

.job-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    padding: 20px;
}

.job-modal.active {
    display: flex;
}

.job-modal .modal-content {
    background: #fff;
    border-radius: 24px;
    max-width: 640px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px 36px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.3s ease-out;
    position: relative;
}

@keyframes modalSlideIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.job-modal .modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.2s;
    padding: 4px 8px;
    border-radius: 8px;
}

.job-modal .modal-close:hover {
    color: #0b1e33;
    background: #f1f5f9;
}

.job-modal .modal-header {
    margin-bottom: 20px;
    padding-right: 30px;
}

.job-modal .modal-header h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.job-modal .modal-header .modal-subtitle {
    font-size: 0.95rem;
    color: #4a5c72;
}

body.dark .job-modal .modal-header .modal-subtitle {
    color: #94a3b8;
}

.job-modal .modal-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.job-modal .modal-badges .badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.job-modal .modal-badges .badge.full-time {
    background: #dcfce7;
    color: #16a34a;
}

.job-modal .modal-badges .badge.part-time {
    background: #dbeafe;
    color: #2563eb;
}

.job-modal .modal-badges .badge.remote {
    background: #fef3c7;
    color: #d97706;
}

.job-modal .modal-badges .badge.contract {
    background: #fce4ec;
    color: #dc2626;
}

body.dark .job-modal .modal-badges .badge.full-time {
    background: #1a3a2a;
    color: #4ade80;
}

body.dark .job-modal .modal-badges .badge.part-time {
    background: #1a2a3a;
    color: #7aa9ff;
}

body.dark .job-modal .modal-badges .badge.remote {
    background: #3a2a1a;
    color: #fbbf24;
}

body.dark .job-modal .modal-badges .badge.contract {
    background: #3a1a1a;
    color: #f87171;
}

.job-modal .modal-details {
    margin: 16px 0 20px;
}

.job-modal .modal-detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #eef3f9;
}

.job-modal .modal-detail-item:last-child {
    border-bottom: none;
}

.job-modal .modal-detail-item i {
    width: 20px;
    color: #0d6efd;
    font-size: 1rem;
}

.job-modal .modal-detail-item .detail-label {
    font-weight: 500;
    color: #4a5c72;
    min-width: 100px;
}

body.dark .job-modal .modal-detail-item .detail-label {
    color: #94a3b8;
}

.job-modal .modal-detail-item .detail-value {
    color: #0b1e33;
}

body.dark .job-modal .modal-detail-item .detail-value {
    color: #eef2f6;
}

.job-modal .modal-description {
    margin: 16px 0 20px;
    padding: 16px 20px;
    background: #f8faff;
    border-radius: 12px;
    border: 1px solid #eef3f9;
}

body.dark .job-modal .modal-description {
    background: #0f172a;
    border-color: #334155;
}

.job-modal .modal-description h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.job-modal .modal-description p {
    font-size: 0.9rem;
    color: #4a5c72;
    line-height: 1.7;
}

body.dark .job-modal .modal-description p {
    color: #94a3b8;
}

.job-modal .modal-description ul {
    list-style: disc;
    padding-left: 20px;
    margin-top: 6px;
}

.job-modal .modal-description ul li {
    font-size: 0.9rem;
    color: #4a5c72;
    margin-bottom: 4px;
}

body.dark .job-modal .modal-description ul li {
    color: #94a3b8;
}

.job-modal .modal-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.job-modal .modal-actions .btn {
    flex: 1;
    min-width: 120px;
    text-align: center;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .culture-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 30px;
    }
    .floating-actions {
        bottom: 20px;
        right: 20px;
        gap: 8px;
    }
    .floating-btn,
    .ai-chat-toggle {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
    .phone-popup {
        right: 55px;
        min-width: 180px;
    }
    .lang-popup {
        right: 55px;
        min-width: 130px;
    }
    .ai-chat-widget {
        width: 340px;
        height: 460px;
        right: 80px;
        bottom: 20px;
    }
    .job-modal .modal-content {
        max-width: 560px;
        padding: 32px 28px;
    }
    .share-popup .share-content {
        max-width: 420px;
        padding: 28px 24px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .nav-actions .btn {
        display: none;
    }
    .nav-toggle {
        display: block;
    }
    .navbar .container {
        flex-wrap: wrap;
    }
    .nav-actions {
        margin-left: auto;
    }
    .page-header h1 {
        font-size: 1.8rem;
    }
    .page-header p {
        font-size: 1rem;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    .culture-grid {
        grid-template-columns: 1fr;
    }
    .job-card {
        flex-direction: column;
        align-items: stretch;
    }
    .job-card .job-actions {
        justify-content: flex-start;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    .sidebar {
        width: 280px;
        left: -300px;
    }
    .floating-actions {
        bottom: 16px;
        right: 16px;
        gap: 6px;
    }
    .floating-btn,
    .ai-chat-toggle {
        width: 38px;
        height: 38px;
        font-size: 0.85rem;
    }
    .floating-btn .tooltip,
    .ai-chat-toggle .tooltip {
        display: none;
    }
    .phone-popup {
        right: 48px;
        min-width: 160px;
        bottom: 0;
    }
    .phone-popup .phone-item {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
    .lang-popup {
        right: 48px;
        min-width: 120px;
        bottom: 0;
    }
    .lang-popup .lang-item {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
    .ai-chat-widget {
        width: 300px;
        height: 420px;
        right: 70px;
        bottom: 16px;
    }
    .ai-chat-messages {
        padding: 10px 14px;
        gap: 8px;
    }
    .ai-chat-messages .message {
        font-size: 0.8rem;
        padding: 7px 12px;
    }
    .ai-chat-header {
        padding: 10px 14px;
        min-height: 50px;
    }
    .ai-chat-header .avatar {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    .ai-chat-header .header-info h4 {
        font-size: 0.8rem;
    }
    .ai-chat-input {
        padding: 8px 12px 12px;
        gap: 6px;
    }
    .ai-chat-input input {
        font-size: 0.8rem;
        padding: 6px 12px;
        min-height: 34px;
    }
    .ai-chat-input button {
        font-size: 0.8rem;
        padding: 6px 14px;
        min-height: 34px;
    }
    .quick-replies {
        padding: 0 12px 6px;
    }
    .quick-replies button {
        font-size: 0.65rem;
        padding: 3px 8px;
    }
    .job-modal .modal-content {
        padding: 28px 20px;
        max-width: 100%;
        margin: 10px;
        border-radius: 16px;
    }
    .job-modal .modal-header h2 {
        font-size: 1.3rem;
    }
    .share-popup .share-content {
        padding: 24px 18px;
        max-width: 100%;
        margin: 10px;
        border-radius: 16px;
    }
    .share-popup .share-social .share-btn {
        font-size: 0.8rem;
        padding: 6px 14px;
    }
    .share-popup .share-link-input {
        flex-direction: column;
    }
    .share-popup .share-link-input .copy-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .floating-btn,
    .ai-chat-toggle {
        width: 34px;
        height: 34px;
        font-size: 0.75rem;
    }
    .floating-actions {
        bottom: 12px;
        right: 12px;
        gap: 5px;
    }
    .phone-popup {
        right: 42px;
        min-width: 140px;
        bottom: 0;
        padding: 8px 0;
        border-radius: 12px;
    }
    .phone-popup .phone-item {
        padding: 6px 12px;
        font-size: 0.7rem;
        gap: 8px;
    }
    .phone-popup .phone-item i {
        width: 16px;
        font-size: 0.8rem;
    }
    .lang-popup {
        right: 42px;
        min-width: 100px;
        bottom: 0;
        padding: 6px 0;
        border-radius: 12px;
    }
    .lang-popup .lang-item {
        padding: 6px 12px;
        font-size: 0.7rem;
        gap: 6px;
    }
    .ai-chat-widget {
        width: 280px;
        height: 380px;
        right: 60px;
        bottom: 12px;
        border-radius: 16px;
    }
    .ai-chat-messages {
        padding: 10px 12px;
        gap: 8px;
    }
    .ai-chat-messages .message {
        font-size: 0.75rem;
        padding: 6px 10px;
        max-width: 90%;
    }
    .ai-chat-header {
        padding: 8px 12px;
        min-height: 44px;
    }
    .ai-chat-header .avatar {
        width: 26px;
        height: 26px;
        font-size: 0.7rem;
    }
    .ai-chat-header .header-info h4 {
        font-size: 0.75rem;
    }
    .ai-chat-header .header-info p {
        font-size: 0.6rem;
    }
    .ai-chat-input {
        padding: 6px 10px 10px;
        gap: 5px;
    }
    .ai-chat-input input {
        font-size: 0.75rem;
        padding: 5px 10px;
        min-height: 30px;
    }
    .ai-chat-input button {
        font-size: 0.75rem;
        padding: 5px 12px;
        min-height: 30px;
    }
    .quick-replies {
        padding: 0 10px 4px;
        gap: 4px;
    }
    .quick-replies button {
        font-size: 0.6rem;
        padding: 2px 8px;
    }
    .job-modal .modal-content {
        padding: 20px 16px;
        border-radius: 12px;
    }
    .job-modal .modal-header h2 {
        font-size: 1.1rem;
    }
    .job-modal .modal-detail-item {
        flex-wrap: wrap;
        gap: 6px;
    }
    .job-modal .modal-detail-item .detail-label {
        min-width: auto;
        font-size: 0.85rem;
    }
    .job-modal .modal-actions .btn {
        min-width: 100%;
    }
    .share-popup .share-content {
        padding: 20px 16px;
    }
    .share-popup .share-title {
        font-size: 1rem;
    }
    .share-popup .share-social {
        gap: 8px;
    }
    .share-popup .share-social .share-btn {
        font-size: 0.7rem;
        padding: 5px 10px;
    }
    .share-popup .share-social .share-btn i {
        font-size: 0.9rem;
    }
}

@media (max-width: 400px) {
    .phone-popup {
        right: 38px;
        min-width: 120px;
    }
    .phone-popup .phone-item {
        font-size: 0.65rem;
        padding: 5px 10px;
    }
    .lang-popup {
        right: 38px;
        min-width: 90px;
    }
    .lang-popup .lang-item {
        font-size: 0.65rem;
        padding: 5px 10px;
    }
    .ai-chat-widget {
        width: 250px;
        height: 340px;
        right: 52px;
    }
    .ai-chat-messages {
        padding: 8px 10px;
    }
    .ai-chat-messages .message {
        font-size: 0.7rem;
        padding: 5px 8px;
    }
    .ai-chat-input input {
        font-size: 0.7rem;
        padding: 4px 8px;
        min-height: 26px;
    }
    .ai-chat-input button {
        font-size: 0.7rem;
        padding: 4px 10px;
        min-height: 26px;
    }
}
