* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
    display: flex;
    height: 100vh;
    background-color: #f5f5f7;
}

.sidebar {
    width: 200px;
    background-color: #2c3e50;
    color: white;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
    z-index: 100;
}

.sidebar.collapsed {
    width: 0;
    margin-left: -10px;
    overflow: hidden;
}

.toggle-sidebar {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 18px;
    height: 18px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    z-index: 10;
}

.sidebar-opener {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 40px;
    background-color: #2c3e50;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 9;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar.collapsed + .sidebar-opener {
    opacity: 1;
}

.brand {
  padding: 20px 15px;
  font-size: 22px;
  font-weight: bold;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: white !important;
  text-decoration: none;
}

.brand:visited,
.brand:hover,
.brand:active,
.brand:focus {
  color: white !important;
  text-decoration: none !important;
}

.sidebar a.brand,
.sidebar a.brand:visited,
.sidebar a.brand:hover,
.sidebar a.brand:active,
.sidebar a.brand:focus {
    color: white !important;
    text-decoration: none !important;
}

.action-button {
    margin: 15px;
    padding: 8px 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.action-icon {
    font-size: 14px;
}

.module-title {
    padding: 10px 15px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.menu-item {
    padding: 10px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

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

.main-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.top-bar {
    height: 60px;
    background-color: white;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    padding: 0 20px;
    justify-content: space-between;
}

.module-name {
    font-size: 16px;
    color: #666;
}

.nav-tabs {
    display: flex;
    height: 60px;
    border-bottom: 1px solid #e0e0e0;
    background-color: white;
    padding: 10px 0 6px 0;
}

.tab {
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #666;
    font-size: 14px;
    position: relative;
}

.tab.active {
    color: #3498db;
}

.tab.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 20px;
    right: 20px;
    height: 3px;
    background-color: #3498db;
}

.user-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.icon {
    width: 20px;
    height: 20px;
    cursor: pointer;
    opacity: 0.6;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #3498db;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.dashboard-content {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
}

.section {
    margin-bottom: 40px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.section-header {
    padding: 15px 20px;
    border-bottom: 1px solid #eaeaea;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.section-actions {
    display: flex;
    gap: 10px;
}

.section-action {
    padding: 5px 10px;
    font-size: 13px;
    color: #3498db;
    cursor: pointer;
}

.section-content {
    padding: 20px;
}

/* Profile Section Styles */
.profile-wrapper {
    display: flex;
    gap: 30px;
}

.profile-left {
    flex: 0 0 200px;
}

.profile-photo {
    width: 200px;
    height: 200px;
    border-radius: 6px;
    background-color: #e0e0e0;
    overflow: hidden;
    margin-bottom: 15px;
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #555;
}

.profile-right {
    flex-grow: 1;
}

.profile-name {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
}

.profile-title {
    font-size: 18px;
    color: #555;
    margin-bottom: 5px;
}

.profile-org {
    font-size: 16px;
    color: #3498db;
    margin-bottom: 15px;
}

.profile-locations {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.location-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
    font-size: 14px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info-label {
    font-size: 13px;
    color: #777;
}

.info-value {
    font-size: 15px;
    color: #333;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.tag {
    background-color: #f0f8ff;
    color: #3498db;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 13px;
}

/* News Section Styles */
.news-tabs {
    display: flex;
    border-bottom: 1px solid #eaeaea;
}

.news-tab {
    padding: 10px 15px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
}

.news-tab.active {
    color: #3498db;
    border-bottom: 2px solid #3498db;
}

.news-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.news-table th {
    text-align: left;
    padding: 10px;
    font-size: 14px;
    color: #555;
    border-bottom: 1px solid #eaeaea;
    font-weight: 500;
}

.news-table td {
    padding: 12px 10px;
    font-size: 14px;
    border-bottom: 1px solid #eaeaea;
}

.news-title {
    color: #333;
    font-weight: 500;
}

.news-source {
    color: #3498db;
}

.news-date {
    color: #777;
}

.news-type {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    background-color: #f5f5f7;
    color: #666;
}

.news-type.article {
    background-color: #e8f4fd;
    color: #3498db;
}

.news-type.podcast {
    background-color: #e8f8f5;
    color: #2ecc71;
}

.news-type.video {
    background-color: #fef5e9;
    color: #f39c12;
}

.news-type.mention {
    background-color: #f9eafb;
    color: #9b59b6;
}

/* Relationships Section Styles */
.relationships-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.relationship-card {
    background-color: #f9f9f9;
    border-radius: 6px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.relationship-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.relationship-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #e0e0e0;
    overflow: hidden;
}

.relationship-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.relationship-info {
    flex-grow: 1;
}

.relationship-name {
    font-weight: 500;
    color: #333;
}

.relationship-title {
    font-size: 13px;
    color: #666;
    margin-top: 2px;
}

.relationship-org {
    font-size: 13px;
    color: #3498db;
    margin-top: 2px;
}

.relationship-type {
    margin-top: 5px;
    font-size: 12px;
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    background-color: #e8f4fd;
    color: #3498db;
}

.relationship-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 5px;
}

.relationship-action {
    font-size: 12px;
    color: #3498db;
    cursor: pointer;
}
.relationship-action a {
    text-decoration: none; /* removes underline */
    color: #3498db;         /* matches the existing .relationship-action color */
}

.relationship-action a:hover {
    text-decoration: underline; /* optional: add this if you want hover feedback */
}

/* System Information Styles */
.system-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.system-logo {
    width: 60px;
    height: 60px;
    background-color: #f0f7fd;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3498db;
    font-size: 24px;
}

.system-info-main {
    flex-grow: 1;
}

.system-name {
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.system-type {
    color: #666;
    margin-top: 3px;
}

.system-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.metric-card {
    background-color: #f9f9f9;
    border-radius: 6px;
    padding: 15px;
}

.metric-value {
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.metric-label {
    font-size: 13px;
    color: #777;
    margin-top: 5px;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.tech-category {
    margin-bottom: 25px;
}

.category-name {
    font-size: 16px;
    font-weight: 500;
    color: #555;
    margin-bottom: 10px;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 6px;
    margin-bottom: 8px;
}
.tech-item-link {
    color: inherit;
    display: block;
}
a.tech-item-link {
    text-decoration: none;
}

.tech-item-link:hover .tech-item {
    background-color: #f0f0f0; /* Optional: hover effect */
    cursor: pointer;
}

.tech-icon {
    width: 36px;
    height: 36px;
    background-color: #f0f7fd;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3498db;
    font-size: 18px;
}

.tech-details {
    flex-grow: 1;
}

.tech-name {
    font-weight: 500;
    color: #333;
}

.tech-vendor {
    font-size: 13px;
    color: #666;
    margin-top: 2px;
}

/* Career History Styles */
.career-timeline {
    display: flex;
    flex-direction: column;
}

.career-item {
    border-left: 3px solid #3498db;
    padding-left: 20px;
    margin-bottom: 25px;
    position: relative;
}

.career-item:last-child {
    margin-bottom: 0;
}

.career-item::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 0;
    width: 16px;
    height: 16px;
    background-color: #3498db;
    border-radius: 50%;
}

.career-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.career-position {
    font-weight: 600;
    font-size: 17px;
    color: #333;
}

.career-company {
    font-size: 15px;
    color: #3498db;
}

.career-period {
    text-align: right;
    color: #666;
    font-size: 14px;
}

/* Quote Styles */
.quotes-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.quote-card {
    background-color: #f9f9f9;
    border-left: 4px solid #3498db;
    padding: 15px;
    border-radius: 4px;
}

.quote-text {
    font-style: italic;
    color: #555;
    margin-bottom: 10px;
}

.quote-source {
    font-size: 13px;
    color: #777;
}

/* Additional utility classes */
.confidence-meter {
    display: flex;
    align-items: center;
    font-size: 12px;
}

.confidence-label {
    color: #555;
    margin-right: 5px;
}

.confidence-value {
    font-weight: bold;
    color: #2ecc71;
}
/* Vendor profile specific styles */

.vendor-header {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.vendor-logo {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
    background-color: #f5f5f7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #3498db;
    flex-shrink: 0;
}

.vendor-info {
    flex-grow: 1;
}

.vendor-name {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.vendor-type {
    font-size: 16px;
    color: #666;
    margin-bottom: 10px;
}

.vendor-metrics {
    display: flex;
    gap: 20px;
}

.vendor-metric {
    display: flex;
    flex-direction: column;
}

/* Product cards for vendor page */
.product-card {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.product-title {
    font-weight: 600;
    font-size: 16px;
    color: #333;
}

.product-category {
    background-color: #e8f4fd;
    color: #3498db;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.product-description {
    font-size: 14px;
    color: #555;
    margin-bottom: 5px;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #777;
}

/* Adoption section */
.adoption-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 15px;
}

.adoption-card {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.adoption-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.adoption-details {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    font-size: 13px;
}

.adoption-product {
    color: #3498db;
}

.implementation-date {
    color: #666;
}

/* Competitor section */
.competitor-item {
    display: flex;
    align-items: center;
    padding: 12px;
    background-color: #f9f9f9;
    border-radius: 6px;
    margin-bottom: 10px;
    gap: 15px;
}

.competitor-logo {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background-color: #f0f7fd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3498db;
    font-size: 16px;
    flex-shrink: 0;
}

.competitor-info {
    flex-grow: 1;
}

.competitor-name {
    font-weight: 500;
    color: #333;
}

.competitor-specialty {
    font-size: 13px;
    color: #666;
    margin-top: 2px;
}

.competitor-market {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.market-share {
    font-weight: 600;
    color: #333;
}

.market-trend {
    font-size: 13px;
    color: #2ecc71;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
}

.market-trend.down {
    color: #e74c3c;
}

/* Additional news types for vendor page */
.news-type.press {
    background-color: #e8f8f5;
    color: #2ecc71;
}

.news-type.product {
    background-color: #fef5e9;
    color: #f39c12;
}

/* Technology specific styles */
.tech-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.feature-item {
    background-color: #f9f9f9;
    border-radius: 6px;
    padding: 12px;
}

.feature-title {
    font-weight: 500;
    color: #333;
    margin-bottom: 5px;
}

.feature-description {
    font-size: 13px;
    color: #666;
}