/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #0b0c0c;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Cookie Banner */
.cookie-banner {
    background-color: #1d70b8;
    height: 60px;
    display: flex;
    align-items: center;
}

.cookie-banner .container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    padding-left: 30px;
    padding-right: 30px;
    width: 100%;
}

.cookie-banner svg {
    display: block;
}

/* Buttons */
.btn {
    padding: 10px 20px;
    border: 2px solid;
    border-radius: 0;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.2s;
}

.btn-primary {
    background-color: #ffffff;
    color: #1d70b8;
    border-color: #ffffff;
}

.btn-primary:hover {
    background-color: #f3f2f1;
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Links */
.link {
    color: #1d70b8;
    text-decoration: underline;
}

.link:hover {
    color: #003078;
}

/* Header */
.header {
    background-color: #ffffff;
    padding: 15px 0;
}

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

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #0b0c0c;
    text-decoration: none;
}

.header-nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-link {
    color: #0b0c0c;
    text-decoration: none;
    font-size: 16px;
}

.nav-link:hover {
    text-decoration: underline;
}

.nav-link.active {
    font-weight: 600;
    border-bottom: 2px solid #0b0c0c;
}

.header-search {
    margin-top: 20px;
}

.search-box {
    display: flex;
    gap: 10px;
    max-width: 600px;
}

.search-input {
    flex: 1;
    padding: 10px;
    border: 2px solid #0b0c0c;
    font-size: 16px;
}

.search-input:focus {
    outline: 3px solid #ffdd00;
    outline-offset: 0;
}

.search-button {
    padding: 10px 30px;
    background-color: #1d70b8;
    color: #ffffff;
    border: 2px solid #1d70b8;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.search-button:hover {
    background-color: #003078;
    border-color: #003078;
}

.search-hint {
    margin-top: 5px;
    font-size: 14px;
    color: #505a5f;
}

/* Main Content */
.main-content {
    padding: 40px 0;
    min-height: calc(100vh - 400px);
}

.breadcrumb {
    margin-bottom: 30px;
    font-size: 14px;
}

.company-header {
    margin-bottom: 30px;
    /* padding-bottom: 20px; */
    /* border-bottom: 1px solid #b1b4b6; */
}

.company-name {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #0b0c0c;
    display: flex;
    align-items: center;
    gap: 12px;
}

.company-name-text {
    display: inline-block;
}

.company-number {
    font-size: 18px;
    margin-bottom: 15px;
    color: #505a5f;
}

.company-status-header {
    font-size: 18px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-label {
    color: #505a5f;
}

.status-value {
    font-weight: 600;
}

.company-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.company-actions .btn-secondary {
    background-color: #ffffff;
    color: #1d70b8;
    border-color: #1d70b8;
}

.company-actions .btn-secondary:hover {
    background-color: #f3f2f1;
}

/* Company Navigation */
.company-nav {
    margin-bottom: 40px;
    border-bottom: 1px solid #b1b4b6;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.nav-list li {
    margin: 0;
}

/* Overview Section */
.overview-section {
    margin-bottom: 40px;
    padding: 30px;
    /* background-color: #f3f2f1; */
    border: 1px solid #b1b4b6;
}

.overview-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #0b0c0c;
}

.overview-content {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.overview-content .detail-section {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #b1b4b6;
    background-color: transparent;
}

.overview-content .detail-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.overview-content .section-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #505a5f;
}

.overview-content .detail-value {
    font-size: 16px;
    color: #0b0c0c;
    line-height: 1.6;
}

/* Detail Sections */
.company-details {
    margin-bottom: 40px;
}

.detail-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #b1b4b6;
}

.section-title {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #0b0c0c;
}

.detail-value {
    font-size: 16px;
    color: #0b0c0c;
    line-height: 1.6;
}

.status-active {
    color: #00703c;
    font-weight: 600;
    display: inline-block;
    padding: 4px 12px;
    border: 2px solid #00703c;
    border-radius: 0;
    background-color: #ffffff;
}

/* Accounts Section */
.accounts-section,
.confirmation-section {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #b1b4b6;
}

.accounts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.account-item {
    padding: 20px;
    background-color: #f3f2f1;
    border-left: 4px solid #1d70b8;
}

.account-label {
    font-size: 16px;
    color: #505a5f;
    margin-bottom: 10px;
}

.account-value {
    font-size: 19px;
    color: #0b0c0c;
    margin-bottom: 5px;
}

.account-due {
    font-size: 16px;
    color: #505a5f;
}

/* SIC Section */
.sic-section {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #b1b4b6;
}

.sic-list {
    list-style: none;
    margin-top: 20px;
}

.sic-list li {
    padding: 10px 0;
    border-bottom: 1px solid #e5e5e5;
    font-size: 16px;
}

.sic-list li:last-child {
    border-bottom: none;
}

/* Previous Names Section */
.previous-names-section {
    margin-bottom: 40px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 16px;
}

.data-table thead {
    background-color: #f3f2f1;
}

.data-table th {
    padding: 12px;
    text-align: left;
    font-weight: 700;
    border-bottom: 2px solid #0b0c0c;
}

.data-table td {
    padding: 12px;
    border-bottom: 1px solid #b1b4b6;
}

.data-table tbody tr:hover {
    background-color: #f9f9f9;
}

/* Footer */
.footer {
    background-color: #f3f2f1;
    padding: 40px 0 20px;
    margin-top: 60px;
    border-top: 1px solid #b1b4b6;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.footer-left {
    flex: 1;
}

.footer-right {
    flex-shrink: 0;
    display: flex;
    align-items: flex-end;
}

.footer-crest {
    height: 110px;
    width: auto;
}

.footer-links {
    margin-bottom: 30px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-support {
    margin-bottom: 30px;
}

.footer-title {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid #b1b4b6;
    font-size: 14px;
    color: #505a5f;
}

.footer-bottom p {
    margin-bottom: 5px;
}

/* Utility Classes */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .company-name {
        font-size: 28px;
    }

    .header-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .search-box {
        flex-direction: column;
    }

    .search-button {
        width: 100%;
    }

    .accounts-grid {
        grid-template-columns: 1fr;
    }

    .company-actions {
        flex-direction: column;
    }

    .company-actions .btn-secondary {
        width: 100%;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-right {
        align-items: flex-start;
        margin-top: 20px;
    }
}

.main-content .container {
    display: none;
}
.main-content .container.show {
    display: block;
}
.search-message {
    margin-top: 15px;
    padding: 12px 16px;
    background-color: #fef2f2;
    border-left: 4px solid #dc2626;
    color: #dc2626;
    font-size: 14px;
    display: none;
}
.search-message.show {
    display: block;
}

/* Employee Info Styles */
.employee-info {
    margin-bottom: 40px;
    padding: 30px;
    /* background-color: #f3f2f1; */
    border: 1px solid #b1b4b6;
}

.employee-header {
    margin-bottom: 30px;
    /* Same as company-header */
}

.employee-name {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #0b0c0c;
    display: flex;
    align-items: center;
    gap: 12px;
}

.employee-name-text {
    display: inline-block;
}

.verified-icon {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

.employee-post-wrapper {
    font-size: 18px;
    margin-bottom: 15px;
    color: #505a5f;
}

.employee-post-label {
    color: #505a5f;
}

.employee-post {
    font-weight: 500;
}

.employee-status-header {
    font-size: 18px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.employee-verification-note {
    font-size: 16px;
    color: #505a5f;
    line-height: 1.5;
    margin-bottom: 20px;
}

.employee-company-wrapper {
    font-size: 18px;
    margin-bottom: 15px;
    color: #505a5f;
}

.employee-company-label {
    color: #505a5f;
    margin-right: 8px;
}

.employee-company-link {
    color: #1d70b8;
    text-decoration: underline;
    font-weight: 500;
}

.employee-company-link:hover {
    color: #003078;
    text-decoration: underline;
}

.status-separator {
    color: #505a5f;
    font-weight: 400;
}

.status-verified {
    color: #1d70b8;
    font-weight: 600;
    display: inline-block;
    padding: 4px 12px;
    border: 2px solid #1d70b8;
    border-radius: 0;
    background-color: #ffffff;
}