* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    background-color: #0f2936;
    color: #ffffff;
    overflow: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("/bulleye-1.png");
    background-repeat: no-repeat;
    background-position: -350px 50px;
    opacity: 0.2;
    pointer-events: none;
    z-index: 0;
}

.app-container {
    position: relative;
    display: flex;
    height: 100vh;
    width: 100vw;
    z-index: 1;
}

/* Mobile Overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Sidebar Styles */
.sidebar {
    position: relative;
    width: 260px;
    height: 100%;
    background: transparent;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.sidebar-header {
    position: relative;
    height: 64px;
    display: flex;
    align-items: center;
    padding: 0 24px;
    background: transparent;
    flex-shrink: 0;
}

.sidebar-title {
    font-family: 'Figtree', Helvetica;
    font-weight: 700;
    font-size: 20px;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.sidebar-nav {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 24px 16px;
    gap: 4px;
    flex: 1;
    overflow-y: auto;
}

.nav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px 10px 16px;
    width: 100%;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.2s;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.nav-item.active {
    background: rgb(52 111 129 / 56%);
    border-color: rgb(52 111 129);
}

.nav-item-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-icon {
    width: 20px;
    height: 20px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.nav-item.active .nav-icon {
    opacity: 1;
}

.nav-item:hover .nav-icon {
    opacity: 0.9;
}

.nav-label {
    font-family: 'Figtree', Helvetica;
    font-weight: 500;
    font-size: 16px;
    color: #d1d5db;
    transition: color 0.2s;
}

.nav-item.active .nav-label {
    color: #ffffff;
}

.nav-item:hover .nav-label {
    color: #ffffff;
}

.nav-chevron {
    width: 16px;
    height: 16px;
    color: #6b7280;
    transition: color 0.2s;
}

.nav-item.active .nav-chevron {
    color: #2bcd90;
}

.nav-item:hover .nav-chevron {
    color: #9ca3af;
}

/* Main Content */
.main-content {
    flex: 1;
    overflow: hidden;
    background-color: transparent;
    padding: 24px;
}

.content-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: rgba(49, 114, 128, 0.41);
    border-radius: 16px;
    border: 1px solid rgba(42, 77, 93, 0.5);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

/* Navigation Bar */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    flex-shrink: 0;
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    cursor: pointer;
    color: #ffffff;
    transition: all 0.2s ease;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.menu-toggle:active {
    transform: scale(0.95);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb-item {
    font-size: 14px;
    color: #9ca3af;
}

.breadcrumb-item.active {
    color: #ffffff;
    font-weight: 500;
}

.breadcrumb-separator {
    font-size: 14px;
    color: #9ca3af;
}

.navbar-controls {
    display: flex;
    gap: 12px;
}

.select-wrapper {
    position: relative;
}

.select-input {
    width: 180px;
    padding: 8px 36px 8px 12px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 6px;
    font-size: 14px;
    color: #1f2937;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='%231f2937'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 20px;
}

.select-input:focus {
    outline: 2px solid #2bcd90;
    outline-offset: 2px;
}

/* Separator */
.separator {
    width: 100%;
    border-top: 2px dashed rgb(14 41 54);
    flex-shrink: 0;
}

/* Prospects Container */
.prospects-container {
    flex: 1;
    overflow: hidden;
    padding: 24px;
}

.prospects-inner {
    height: 100%;
    background: #346F82;
    border-radius: 12px;
    padding: 14px 24px 24px 24px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.prospects-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.prospects-title {
    font-family: 'Figtree', Helvetica;
    font-weight: 400;
    font-size: 28px;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin: 0;
}

.prospects-list {
    background: rgb(0 0 0 / 0%);
    border-radius: 8px;
    overflow-y: auto;
    flex: 1;
}

/* Prospect Row */
.prospect-row {
    position: relative;
    border-top: 1px dashed rgba(43, 205, 144, 0.3);
    background: rgba(26, 61, 77, 0.2);
    transition: all 0.3s ease;
    margin-bottom: 8px;
}

.prospect-row:hover {
    background: rgba(15, 41, 54, 0.4);
}

.prospect-row.expanded {
    background: rgba(15, 41, 54, 0.6);
}

.prospect-header {
    display: grid;
    grid-template-columns: 100px var(--company-name-width, 150px) 80px 150px 150px 300px 1fr 60px;
    gap: 16px;
    align-items: center;
    padding: 16px;
    cursor: pointer;
    font-size: 14px;
}

/* Toggle Button */
.toggle-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.toggle-switch {
    width: 44px;
    height: 24px;
    background: #2bcd90;
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    transition: background 0.2s;
}

.toggle-slider {
    width: 18px;
    height: 18px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 3px;
    left: 3px;
    transition: transform 0.2s;
}

.toggle-switch.off {
    background: #1c4754;
}

.toggle-switch.off .toggle-slider {
    transform: translateX(20px);
}

.follow-text {
    font-size: 12px;
    color: #d1d5db;
}

/* Company Name */
.company-name {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-right: 30px;
}

/* Score Badge */
.score-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    min-width: 50px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.score-green { background: #11aa64; color: #ffffff; }
.score-blue { background: #009acc; color: #ffffff; }
.score-gray { background: #5a7a84; color: #ffffff; }
.score-orange { background: #bd8a4e; color: #ffffff; }
.score-red { background: #b04646; color: #ffffff; }

/* Website Link */
.website-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #4db8e8;
    text-decoration: none;
    transition: color 0.2s;
}

.website-link:hover {
    color: #6dc9f0;
}

.globe-icon {
    width: 14px;
    height: 14px;
}

/* Stakeholders Badge */
.stakeholders-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 12px;
    border-radius: 16px;
    background: #3d8fa8;
    font-size: 12px;
    font-weight: 500;
    color: #ffffff;
}

/* Description Text */
.description-text {
    font-size: 16px;
    color: #e5e7eb;
    line-height: 1.5;
}

.description-text.product {
    color: #d1d5db;
}

/* Expand Icon */
.expand-icon {
    width: 16px;
    height: 16px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-center: center;
}

.expand-icon.collapsed {
    color: #9ca3af;
}

.expand-icon.expanded {
    color: #2bcd90;
}

.expand-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    transition: background 0.2s;
    justify-self: end;
    margin-right: 0;
}

.expand-button:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Expanded Content */
.expanded-content {
    padding: 0 16px 16px 16px;
    display: none;
}

.expanded-content.visible {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.expanded-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.info-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 20px;
    border: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.card-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #3d8fa8 0%, #2c6f82 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-icon img {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
}

.card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.tag-badge {
    padding: 4px 12px;
    border-radius: 16px;
    background: linear-gradient(90deg, #3d8fa8 0%, #2c6f82 100%);
    font-size: 12px;
    font-weight: 500;
    color: #ffffff;
}

.card-description {
    font-size: 14px;
    color: #374151;
    line-height: 1.6;
}

/* Scrollbar Styles */
.prospects-list::-webkit-scrollbar {
    width: 8px;
}

.prospects-list::-webkit-scrollbar-track {
    background: rgba(26, 61, 77, 0.3);
    border-radius: 4px;
}

.prospects-list::-webkit-scrollbar-thumb {
    background: rgba(43, 205, 144, 0.3);
    border-radius: 4px;
}

.prospects-list::-webkit-scrollbar-thumb:hover {
    background: rgba(43, 205, 144, 0.5);
}

/* Mobile Nav Buttons in Sidebar */
.mobile-nav-buttons {
    display: none;
}

/* Nav Buttons */
.nav-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.button {
    all: unset;
    box-sizing: border-box;
    display: flex;
    min-width: 180px;
    width: auto;
    height: 38px;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 4px 16px;
    position: relative;
    border-radius: 30px;
    border: none;
    background: linear-gradient(
        90deg,
        rgba(52, 110, 130, 1) 0%,
        rgba(48, 115, 127, 1) 28%,
        rgba(52, 110, 130, 1) 72%,
        rgba(47, 116, 126, 1) 100%
    );
    cursor: pointer;
    transition: all 0.2s;
}

.button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(43, 205, 144, 0.3);
}

.button .container {
    display: flex;
    max-width: 180px;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    margin-left: -49.50px;
    margin-right: -49.50px;
}

.button .text-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin-top: -1.00px;
    font-family: "Figtree", Helvetica;
    font-weight: 700;
    color: #ffffff;
    font-size: 16px;
    text-align: center;
    letter-spacing: 0;
    line-height: 21px;
    white-space: nowrap;
}

.button::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: 30px;
    background: linear-gradient(
        178deg,
        rgba(255, 255, 255, 0.5) 0%,
        rgba(7, 166, 93, 0.5) 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 1;
    pointer-events: none;
}

/* Responsive Design */
@media (max-width: 1899px) {
    .sidebar {
        width: 80px;
    }

    .sidebar-title {
        display: none;
    }

    .nav-label {
        display: none;
    }

    .nav-chevron {
        display: none;
    }

    .nav-item {
        justify-content: center;
        padding: 12px;
    }

    .nav-item-content {
        gap: 0;
    }

    .prospect-header {
        grid-template-columns: 100px var(--company-name-width, 150px) 80px 150px 150px 1fr 60px;
    }

    .description-text.product {
        display: none;
    }
}

@media (max-width: 1400px) {
    .prospect-header {
        grid-template-columns: auto var(--company-name-width, 150px) 100px 150px 150px 1fr 60px;
        gap: 12px;
    }
}

@media (max-width: 1200px) {
    .expanded-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .mobile-overlay {
        display: block;
    }

    .menu-toggle {
        display: flex;
    }

    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        z-index: 100;
        background: #0f2936;
        transform: translateX(-100%);
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
    }

    .sidebar.active {
        transform: translateX(0);
        width: 240px;
    }

    .sidebar.active .nav-label {
        display: block;
    }

    .sidebar.active .nav-item {
        justify-content: space-between;
        padding: 12px 16px;
    }

    .sidebar.active .nav-item-content {
        gap: 12px;
    }

    .sidebar.active .sidebar-title {
        display: block;
    }

    .sidebar.active .nav-chevron {
        display: block;
    }

    .sidebar.active .mobile-nav-buttons {
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mobile-nav-btn {
        all: unset;
        box-sizing: border-box;
        display: flex;
        width: 100%;
        height: 38px;
        align-items: center;
        justify-content: center;
        gap: 4px;
        padding: 4px 16px;
        border-radius: 30px;
        border: none;
        background: linear-gradient(
            90deg,
            rgba(52, 110, 130, 1) 0%,
            rgba(48, 115, 127, 1) 28%,
            rgba(52, 110, 130, 1) 72%,
            rgba(48, 115, 127, 1) 100%
        );
        cursor: pointer;
        transition: opacity 0.2s;
    }

    .mobile-nav-btn:hover {
        opacity: 0.9;
    }

    .mobile-nav-btn .container {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-nav-btn .text-wrapper {
        font-family: 'Figtree', Helvetica;
        font-weight: 600;
        font-size: 15px;
        color: #ffffff;
        text-align: center;
        white-space: nowrap;
    }

    .main-content {
        padding: 16px;
    }

    .navbar {
        padding: 12px 16px;
    }

    .nav-buttons {
        display: none;
    }

    .prospects-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .navbar-controls {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .select-wrapper {
        width: 100%;
    }

    .select-input {
        width: 100%;
    }

    .prospects-container {
        padding: 16px;
    }

    .prospects-inner {
        padding: 12px 16px 16px 16px;
    }

    .prospect-header {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .prospect-row {
        width: 100%;
    }

    .toggle-container {
        order: 1;
    }

    .company-name {
        order: 1;
        flex: 1;
        margin-right: 12px;
    }

    .score-badge {
        order: 1;
    }

    .website-link {
        order: 2;
        flex: 1;
    }

    .stakeholders-badge {
        order: 2;
    }

    .description-text {
        order: 4;
    }

    .description-text.product {
        display: block;
        order: 3;
    }

    .expand-button {
        order: 5;
        align-self: flex-end;
        margin-top: -40px;
    }

    .prospect-header > *:nth-child(1),
    .prospect-header > *:nth-child(2),
    .prospect-header > *:nth-child(3) {
        display: flex;
    }

    .prospect-header {
        display: grid;
        grid-template-columns: auto 1fr auto;
        grid-template-rows: auto auto auto auto auto auto;
        gap: 12px;
        align-items: center;
    }

    .company-name {
        grid-column: 1 / 4;
        grid-row: 1;
        margin-right: 0;
        margin-bottom: 10px;
        font-size: 20px;
    }

    .toggle-container {
        grid-column: 1;
        grid-row: 2;
    }

    .score-badge {
        grid-column: 3;
        grid-row: 2;
    }

    .website-link {
        grid-column: 1 / 3;
        grid-row: 3;
    }

    .stakeholders-badge {
        grid-column: 3;
        grid-row: 3;
    }

    .description-text.product {
        display: block;
        grid-column: 1 / 4;
        grid-row: 4;
    }

    .description-text:not(.product) {
        grid-column: 1 / 4;
        grid-row: 5;
    }

    .expand-button {
        grid-column: 3;
        grid-row: 6;
        justify-self: end;
        margin-top: 0;
    }

    .expanded-cards {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 450px) and (max-width: 1024px) {
    .navbar-controls {
        flex-direction: row;
        align-items: center;
    }

    .select-wrapper {
        width: auto;
    }

    .select-input {
        width: 180px;
    }
}

/* Breadcrumb Link */
.breadcrumb-link {
    cursor: pointer;
    transition: color 0.2s;
}

.breadcrumb-link:hover {
    color: #2bcd90;
}

/* Company Detail View */
.company-detail-view {
    height: 100%;
    background: transparent;
    border-radius: 12px;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.company-detail-header {
    margin-bottom: 24px;
}

.detail-header-row {
    background: linear-gradient(135deg, #4a8fa3 0%, #396f82 100%);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.detail-header-top {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    position: relative;
}

.company-logo {
    width: 80px;
    height: 80px;
    background: #1a2e3a;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.company-initials {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.company-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.company-name-header {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin: 0;
}

.company-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    backdrop-filter: blur(10px);
}

.badge-icon {
    width: 16px;
    height: 16px;
    opacity: 0.9;
}

.company-description {
    font-size: 15px;
    line-height: 1.6;
    color: #ffffff;
    opacity: 0.95;
    max-width: 100%;
}

.prospect-score-box {
    position: absolute;
    top: 0;
    right: 0;
    background: #2bcd90;
    border-radius: 12px;
    padding: 16px 24px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(43, 205, 144, 0.4);
    min-width: 100px;
}

.prospect-score-value {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 4px;
}

.prospect-score-label {
    font-size: 12px;
    font-weight: 500;
    color: #ffffff;
    opacity: 0.9;
}

.detail-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 24px 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 0 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
    border-right: none;
}

.stat-value {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

.stat-value.highlight {
    color: #2bcd90;
}

.stat-label {
    font-size: 11px;
    font-weight: 500;
    color: #ffffff;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.company-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 24px;
    width: fit-content;
}

.tab-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: rgba(52, 111, 129, 0.4);
    border: none;
    border-radius: 0;
    font-family: 'Figtree', Helvetica;
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab-button:first-child {
    border-radius: 24px 0 0 24px;
}

.tab-button:last-child {
    border-radius: 0 24px 24px 0;
}

.tab-button:hover {
    background: rgba(52, 111, 129, 0.6);
    color: #ffffff;
}

.tab-button.active {
    background: #2bcd90;
    color: #ffffff;
}

.tab-icon {
    width: 18px;
    height: 18px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.detail-cards-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.overview-tiles-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.overview-tile {
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.white-tile {
    background: #ffffff;
}

.white-tile .tile-title {
    color: #1a2e3a;
}

.white-tile .tile-content {
    color: #4a5568;
}

.gradient-tile {
    background: linear-gradient(135deg, #4a8fa3 0%, #396f82 100%);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.gradient-tile .tile-title {
    color: #ffffff;
}

.gradient-tile .tile-content {
    color: #ffffff;
    opacity: 0.9;
}

.tile-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 16px 0;
}

.tile-content {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 1200px) {
    .detail-cards-container {
        grid-template-columns: 1fr;
    }

    .overview-tiles-container {
        grid-template-columns: 1fr;
    }

    .detail-stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item:nth-child(2) {
        border-right: none;
    }

    .stat-item:nth-child(3) {
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }
}

@media (max-width: 1024px) {
    .company-detail-view {
        padding: 0;
    }

    .detail-header-row {
        padding: 24px;
    }

    .detail-header-top {
        flex-direction: column;
        gap: 16px;
    }

    .prospect-score-box {
        position: static;
        align-self: center;
        width: fit-content;
    }

    .company-name-header {
        font-size: 24px;
    }

    .detail-stats-row {
        grid-template-columns: repeat(2, 1fr);
        padding: 16px 0;
    }

    .stat-item {
        padding: 16px;
    }

    .stat-item:nth-child(2) {
        border-right: none;
    }

    .stat-item:nth-child(3) {
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }

    .stat-value {
        font-size: 28px;
    }

    .detail-cards-container {
        grid-template-columns: 1fr;
    }

    .company-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .tab-button {
        padding: 10px 22px;
        font-size: 14px;
        white-space: nowrap;
    }

    .tab-icon {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 640px) {
    .detail-stats-row {
        grid-template-columns: 1fr;
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .stat-item:last-child {
        border-bottom: none;
    }
}

/* Pagination Styles */
.pagination-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    margin-top: 16px;
    border-top: 1px dashed rgba(43, 205, 144, 0.3);
    flex-shrink: 0;
}

.pagination-info {
    font-family: 'Figtree', Helvetica;
    font-size: 14px;
    color: #d1d5db;
}

.pagination-info-highlight {
    color: #2bcd90;
    font-weight: 600;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border-radius: 8px;
    border: 1px solid rgba(52, 111, 129, 0.5);
    background: rgba(52, 111, 129, 0.3);
    color: #d1d5db;
    font-family: 'Figtree', Helvetica;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.pagination-btn:hover:not(.disabled) {
    background: rgba(52, 111, 129, 0.5);
    border-color: rgba(52, 111, 129, 0.8);
    color: #ffffff;
}

.pagination-btn.active {
    background: #2bcd90;
    border-color: #2bcd90;
    color: #ffffff;
    font-weight: 600;
}

.pagination-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.pagination-btn.nav-btn {
    gap: 6px;
}

.pagination-btn .bi {
    font-size: 12px;
}

.pagination-ellipsis {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    color: #6b7280;
    font-size: 14px;
}

@media (max-width: 1024px) {
    .pagination-container {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

    .pagination-info {
        order: 2;
    }

    .pagination-controls {
        order: 1;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .pagination-btn {
        min-width: 32px;
        height: 32px;
        padding: 0 8px;
        font-size: 13px;
    }

    .pagination-btn.nav-btn span {
        display: none;
    }
}
