[v-cloak] {
    display: none;
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.dashed-box {
    border: 1px dashed #000; /* Set the border width and color */
    width: 300px; /* Set the width of the box */
    margin: 14px;
    padding: 4px;
}

.documentation-main {
    border-left:2px dashed #126fcc;
    min-height: 70vh;    
    overflow:auto;
}

.docSectionElement {
    margin: 1.4em;
}

.doc_url {
    background-color: white;
    border: 1px dashed;
    border-color: pink;
    border-radius: 12px 12px;
    padding: 2px 2px 2px 4px;
    margin: 4px;
    width: 94%;
    font-weight: bold;
    font-size: 1.4em;
}

.ukcdb-search-button {    
    background-color: #0c5eb0;
    border-radius: 10px;
}

.subtab-container-button-container {
    margin-bottom: 10px;
    display: flex; 
    flex-wrap: wrap;
}

.button-wrapper {
  
    flex: 0 0 calc(100% / 5); 
    box-sizing: border-box; 
    padding: 5px; 
    
    display: flex; 
}

    .button-wrapper button {
        width: 100%;
    }

.search-subtab-button {
    width: 14%;
    margin-left: 8px;
    margin-right: 8px;
    background-color: #0c5eb0;
    border-radius: 10px;
}

.active-subtab {
    background-color: #0c5eb0 !important;
    color: white !important; 
}

.search-subtab-button-outline {
    width: 14%;
    margin-left: 8px;
    margin-right: 8px;
    color: #0c5eb0;
    border-color: #0c5eb0;
    background-color: white;
    border-radius: 10px;
    white-space: normal; 
    overflow-wrap: break-word; 
    text-align: center; 
    padding: 4px;
}


.search-subtab-button-download {
    width: 14%;
    margin-left: 8px;
    margin-right: 8px;
    color: white;
    border-color: purple;
    background-color: purple;
    border-radius: 10px;
    white-space: normal;
    overflow-wrap: break-word;
    text-align: center;
    padding: 4px;
}

    .search-subtab-button-download:hover {
        background-color: black;
        color: white;
        border-color: #888;
    }
     

.send-feedback-button {
    width: 100%;
    background-color: #e0af0b;
    border-radius: 10px;
    color: black;
    font-weight: bold;
}

.ukcdb-viewfinancials-button {
    width: 50%;
    background-color: #0c5eb0;
    border-radius: 10px;
}

.ukcdb-details-panel {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 14px; 
}

.ukcdb-advanced-search-panel {
    background: var(--purple);
    background-size: cover;
    background-position: center;
    padding-top: 10px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 10px #0c0c0c21;
    font-size: 9pt;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.scrollable-content {
    overflow-x: hidden;
    overflow-y: auto;
    flex-grow: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    scrollbar-width: thin; 
    scrollbar-color: lightgray transparent; 
}


/* FILTER BADGES */
/* FILTER BADGES */
.filters-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }

    60% {
        opacity: 1;
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.filter-badge {
    display: inline-flex;
    align-items: center;
    background-color: #f3f3f3;
    padding: 6px 10px;
    border-radius: 12px;
    margin: 4px;
    animation: bounceIn 0.4s ease-out;
    font-weight:bold;
}


/* Enhancements for VueJS dynamic values */
.filter-value {
    font-weight: 900;
    color: #e0b000;
    margin-left: 4px;
    margin-right:4px;
}

/* CLEAR FILTER BUTTON */
.clearFilterButton {
    color: #bbb;
    background-color: transparent;
    border: 1px solid #bbb;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    padding: 4px;
    margin-left: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    transition: all 0.2s ease-in-out;
}

    .clearFilterButton:hover {
        background-color: #888;
        color: white;
        border-color: #888;
    }
     

/* END OF FILTER BADGES*/


.closeCompanyTabButton {
    color: #ffffff;
    border-color: #ffffff;
    background-color: transparent;
    border: 1px solid #ffffff;
    font-size: 12px; 
    font-weight: bold;
    cursor: pointer;
    display: inline-flex; 
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left:4px;
    width: 20px;
    height: 20px;
    transition: all 0.2s ease-in-out;
    padding: 2px;
    line-height: 1;
}

    .closeCompanyTabButton:hover {
        background-color: red;
        color: white;
        border-color: red;
    }




/* END OF FILTER BADGES*/

.ukcdb-advanced-search-panel-text-entry {
    font-size: 9pt;
}

.ukcdb-advanced-search-panel-text-entry::placeholder {
        font-size: 9pt;
    }

.ukcdb-filter-label-text {
    color: white;
}

.ukcdb-savedsearches-table
{
    color:white;
}
.ukcdb-savedsearch-result-number {
    background-color: white;
    border-radius: 14px;
    color: var(--purple);
    font-size: 8pt;
    text-align: center;
    padding: 4px;
    display: block;
    margin-bottom: 6px;
    width:24px;
    height:24px;
}

.ukcdb-result-number { 
    background-color: #4a4a4a;
    border-radius: 20px;
    color: white;
    height: 20px;
    font-size: 8pt;
    text-align: center;
    padding: 2px;
    margin-top: 4px;
    min-width: 20px;
    max-width: 40px;
}

.toggle-advanced-search-button {
    cursor: pointer;
    background-color: white;
    color: #126fcc;
    margin-right: 2em;
    margin-left:0;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* .toggle-advanced-search-button:hover {
        background-color: #3e95ed;
    }*/

.filter-value-label {
    color: white;
    margin: 1px;
}

/*This is for the multiselect input box*/
.multiselect__input2 {
    font-size: 9pt;
    border: none;
}

.multiselect__single2 {
    font-size: 9pt;
    border: none;
}



/*transitions*/

.slide-fade-enter-active,
.slide-fade-leave-active {
    transition: all 0.3s cubic-bezier(0.5, 0, 0.3, 1);
    max-height: 80px; 
    overflow: hidden;
}

.slide-fade-enter-from,
.slide-fade-leave-to {
    transform: translateY(-30px);
    opacity: 0;
    max-height: 0;
}

.slide-fade-enter-to,
.slide-fade-leave-from {
    transform: translateY(0);
    opacity: 1;
    max-height: 80px; 
}


.bounce-enter-active {
    animation: bounce-in 0.6s;
}

.bounce-enter {
    opacity: 0;
}

@keyframes bounce-in {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }

    20% {
        transform: translateY(-20px);
    }

    40% {
        transform: translateY(10px);
    }

    60% {
        transform: translateY(-10px);
    }

    80% {
        transform: translateY(5px);
    }
}

 


.spinning-ring-white {
    display: inline-block;
    position: relative;
    width: 40px;
    height: 40px;
    margin-left: auto;
    margin-right: auto;
}

    .spinning-ring-white div {
        box-sizing: border-box;
        display: block;
        position: absolute;
        width: 32px;
        height: 32px;
        margin: 4px;
        margin-left:auto;
        margin-right:auto;
        border: 4px solid white;
        text-align:center;
        border-radius: 50%;
        animation: spinning-ring 1s cubic-bezier(0.5, 0, 0.5, 1) infinite;
        border-color: white transparent transparent transparent;
    }


.docs-mainheading {
    font-size: 22pt;
    font-weight: 600;
    margin-bottom: 20px;
}

.docs-subheading {
    font-size: 16pt;
    font-weight: 500;
    margin-top: 20px;
    margin-bottom: 20px;
}

.docs-text {
    font-size: 12pt;
    margin-top: 10px;
    margin-bottom: 10px;
    font-weight:normal;
}

.docs-active{
    font-weight:bold;
    color:red;
}

.code-block {
    background-color: #e7e7e7;
    color: #2f2f2f;
    font-family: Courier New, Courier, monospace;
    font-size: 11pt;
    display: inline-block;
    padding: 4px;
    border-radius: 8px;
}
.hidden {
    display: none;
}


.autocomplete-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #ddd;
    background: white;
    z-index: 10;
    padding: 0;
    margin: 0;
    list-style: none;
}

    .autocomplete-results li {
        padding: 8px 12px;
        cursor: pointer;
    }

        .autocomplete-results li:hover {
            background-color: #f0f0f0;
        }

.autocomplete-spinner {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 20px;
    height: 20px;
}

.spinner {
    animation: spin 1s linear infinite;
    width: 100%;
    height: 100%;
}

.path {
    stroke: #555;
    stroke-linecap: round;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}
.autocomplete-company-number {
    font-weight: bold;
    background-color: rgb(33, 150, 243);
    color: white;
    padding: 3px 8px;
    border-radius: 8px;
    margin-right: 8px;
    font-size:0.8em;
}
.autocomplete-multiselect .multiselect__select {
    display: none !important;
}


.multiselect:focus-within,
.multiselect__input:focus,
.multiselect__tags:focus-within,
.multiselect__option--highlight {
    outline: none !important;
    box-shadow: none !important; /* Remove any related box-shadows */
    border-color: transparent !important; /* Remove any related borders */
}

/* Also specifically target the dropdown content wrapper */
.multiselect__content-wrapper:focus-within {
    outline: none !important;
    box-shadow: none !important;
    border-color: transparent !important;
}

/* If there's an active selected label, sometimes it might get focus too */
.multiselect__single:focus-within {
    outline: none !important;
    box-shadow: none !important;
}

/*
    IMPORTANT ACCESSIBILITY NOTE:
    You are removing the default focus indicator. This is bad for keyboard users.
    You MUST add an alternative visual cue if you use the above.
    Example:
*/
.multiselect:focus-within,
.multiselect__input:focus,
.multiselect__tags:focus-within,
.multiselect__option--highlight {
    /* ... (outline: none etc. as above) ... */
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.5) !important; /* Custom focus ring */
    transition: box-shadow 0.2s ease-in-out; /* Smooth transition */
}


*:focus {
    outline: none;
}

/* Director Monitoring Styles */
.subscription-status {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.status-label {
    font-weight: bold;
    margin-right: 10px;
}

.status-text {
    font-weight: bold;
}

.text-warning-dark {
    color: #856404; /* Darker amber color for better readability */
}

.notification-settings {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.directors-controls {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
}

/* Notification Controls Box */
.notification-controls-box {
    background: #f8f9fa;
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid #dee2e6;
    min-width: 280px;
    font-size: 0.8rem;
    margin-left: auto;
}

.notification-toggle {
    margin-bottom: 4px;
}

.notification-toggle .form-label {
    font-size: 0.75rem;
    margin-bottom: 0;
}

/* Bootstrap form-switch styling - using default Bootstrap classes */

.subscription-status {
    font-size: 0.75rem;
    margin-top: 1px;
    text-align: center;
}

.directors-controls .form-label.small {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #495057;
}

.directors-controls .form-select-sm {
    font-size: 0.875rem;
    padding: 0.25rem 0.5rem;
}

.directors-controls .status-text {
    font-size: 0.875rem;
    font-weight: 600;
}

.directors-count {
    text-align: center;
    margin: 20px 0;
}

.directors-count .badge {
    font-size: 18px;
    font-weight: 700;
    padding: 12px 20px;
    border-radius: 25px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(0,123,255,0.3);
    border: 2px solid #007bff;
}

.directors-count .badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,123,255,0.4);
    transition: all 0.3s ease;
}

.directors-list {
    max-height: 600px;
    overflow-y: auto;
}

.director-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    margin-bottom: 10px;
    background: white;
    transition: all 0.3s ease;
}

.director-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.director-item.selected {
    background: #e3f2fd;
    border-color: #2196f3;
}

.director-checkbox {
    margin-right: 15px;
}

.director-info {
    flex: 1;
    margin-right: 20px;
}

.director-name {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

.director-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.director-company,
.director-address,
.director-dob {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
}

.director-company i,
.director-address i,
.director-dob i {
    margin-right: 8px;
    width: 16px;
    color: #999;
}

.director-status {
    margin-right: 20px;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.status-active {
    background: #d4edda;
    color: #155724;
}

.status-resigned {
    background: #f8d7da;
    color: #721c24;
}

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

/* Compact Director Layout */
.director-item-compact {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    margin-bottom: 8px;
    background: white;
    transition: all 0.3s ease;
}

.director-item-compact:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    background: #f8f9fa;
}

.director-item-compact.selected {
    background: #e3f2fd;
    border-color: #2196f3;
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.2);
}

.director-item-compact.selected:hover {
    background: #bbdefb;
}

.director-row {
    display: grid;
    grid-template-columns: 30px 200px 250px 200px 150px auto;
    align-items: center;
    width: 100%;
    gap: 15px;
}

.director-name-section {
    display: flex;
    align-items: center;
}

.director-name {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.director-company-section,
.director-address-section,
.director-dob-section {
    display: flex;
    align-items: center;
    gap: 8px;
}

.director-icon {
    color: #6c757d;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.director-text {
    font-size: 14px;
    color: #6c757d;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.director-actions-inline {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
}

.empty-state {
    padding: 40px 20px;
    text-align: center;
}

.empty-state h4 {
    color: #666;
    margin-bottom: 15px;
}

.empty-state p {
    color: #999;
    margin-bottom: 25px;
}

.spinning-ring {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

.spinning-ring div {
    display: none; /* Hide the inner div to prevent double spinner */
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Director Monitoring Steps */
.steps-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
}

.step-box {
    background: #f8f9fa;
    color: #2c3e50;
    border: 2px solid #dee2e6;
    border-radius: 12px;
    padding: 20px;
    min-width: 200px;
    max-width: 250px;
    text-align: center;
    transition: transform 0.3s ease;
}

.step-box:hover {
    transform: translateY(-2px);
}

.step-number {
    background: #5ea8ff;
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    margin: 0 auto 15px auto;
    border: 2px solid #5ea8ff;
}

.step-content h6 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 16px;
}

.step-content p {
    color: #6c757d;
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
}

.step-arrow {
    color: #007bff;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
}

.advanced-matching-box {
    background: rgba(94, 168, 255, 0.1);
    color: #2c3e50;
    border: 2px solid rgba(94, 168, 255, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    text-align: center;
}

.advanced-matching-box h6 {
    color: #000000;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 16px;
}

.advanced-matching-box p {
    color: #000000;
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
}

/* Responsive Design for Steps */
@media (max-width: 768px) {
    .steps-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .step-arrow {
        transform: rotate(90deg);
        font-size: 20px;
    }
    
    .step-box {
        min-width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .step-box {
        padding: 15px;
    }
    
    .step-content h6 {
        font-size: 14px;
    }
    
    .step-content p {
        font-size: 13px;
    }
}

/* Director Import Tab Styles */
.import-directors-tab {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.tab-header h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.tab-header p {
    color: #7f8c8d;
    margin-bottom: 30px;
}

.upload-area {
    border: 2px dashed #bdc3c7;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-area:hover {
    border-color: #3498db;
    background-color: #ecf0f1;
}

.upload-area.dragover {
    border-color: #3498db;
    background-color: #e3f2fd;
}

.upload-controls {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.file-input-group {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 200px;
}

.file-input-group label {
    white-space: nowrap;
    font-weight: 500;
    color: #2c3e50;
}

.file-input-group input[type="file"] {
    padding: 6px 12px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    background-color: white;
    font-size: 14px;
}

.upload-content i {
    font-size: 48px;
    color: #bdc3c7;
    margin-bottom: 15px;
}

.upload-content h4 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.upload-content p {
    color: #7f8c8d;
    margin-bottom: 5px;
}

.file-limit {
    font-size: 12px;
    color: #e74c3c;
    font-weight: 500;
}

.file-preview {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    display: none;
}

.file-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.file-name {
    font-weight: 500;
    color: #2c3e50;
}

.file-size {
    color: #7f8c8d;
    font-size: 14px;
}

.company-count {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.count-label {
    color: #7f8c8d;
}

.count-value {
    font-weight: 500;
    color: #27ae60;
}

.action-buttons {
    display: none;
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
}

.directors-selection {
    margin-top: 20px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
}

.selection-header h4 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.selection-controls {
    margin-bottom: 20px;
}

.selection-controls .form-control {
    width: 100%;
    margin-bottom: 15px;
}

.selection-actions {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.left-actions, .right-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.selected-count {
    color: #7f8c8d;
    font-size: 14px;
    font-weight: 500;
    min-width: 120px;
    text-align: center;
}

.directors-list {
    max-height: none;
    overflow: visible;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    background-color: white;
    margin-top: 35px;
    margin-bottom: 20px;
}

/* Style for directors already being monitored */
.director-already-added {
    background-color: #f8f9fa !important;
    color: #6c757d;
    opacity: 0.7;
}

.director-already-added:hover {
    background-color: #e9ecef !important;
}

.director-already-added input[type="checkbox"] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Style for directors that were just imported */
.director-imported {
    background-color: #d4edda !important;
    border-left: 4px solid #28a745;
}

.director-imported:hover {
    background-color: #c3e6cb !important;
}

.director-imported input[type="checkbox"] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Company grouping styles */
.company-group {
    margin-bottom: 2rem;
}

.company-header {
    background-color: #f8f9fa;
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 1rem;
}

.company-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.company-sequence {
    background-color: #007bff;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1em;
}

.company-details h5 {
    margin: 0;
    color: #333;
    font-size: 1.2em;
    font-weight: 600;
}

.company-details p {
    margin: 0;
    color: #666;
    font-size: 0.9em;
}

/* Compact company header styling */
.company-header-compact {
    background-color: #f8f9fa;
    padding: 8px 12px;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 8px;
}

.company-info-compact {
    display: flex;
    align-items: center;
    gap: 8px;
}

.company-sequence-compact {
    background-color: #007bff;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9em;
}

.company-details-compact h5 {
    margin: 0;
    color: #333;
    font-size: 1.1em;
    font-weight: 600;
}

.company-number-inline {
    color: #666;
    font-weight: 400;
    font-size: 0.9em;
}

/* Director content styling */
.director-content {
    background: white;
    border: none;
    border-bottom: 1px solid #f1f2f6;
    margin-bottom: 0;
    transition: background-color 0.2s ease;
}

.director-content:hover {
    background-color: #f8f9fa;
}

.director-content:last-child {
    border-bottom: none;
}

.director-content-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
}

.director-content .director-info {
    flex: 1;
}

.director-content .director-name {
    color: #333;
    margin: 0 0 4px 0;
    font-weight: 500;
    font-size: 0.95em;
    text-shadow: none;
}

.director-content .director-dob,
.director-content .director-address {
    color: #666;
    font-size: 0.85em;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.director-content .director-actions {
    margin-left: auto;
}

.director-content .director-name-line {
    display: grid;
    grid-template-columns: 200px 120px 1fr;
    gap: 15px;
    align-items: start;
}

.director-content .director-name-line h5 {
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Flat directors list */
.directors-list-flat {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.directors-list-flat .director-content:first-child {
    border-top: none;
}

.directors-list-flat .director-content:last-child {
    border-bottom: none;
}

/* Issue row styling */
.director-content.director-issue-row {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
}

.director-content.director-issue-row.director-invalid {
    background-color: #f8d7da;
    border-left: 4px solid #dc3545;
}

.director-issue-message {
    font-style: italic;
    color: #6c757d;
}

.director-issue-message p {
    margin: 0;
    font-size: 0.9em;
}

/* Import progress styling */
.import-loading-content p strong {
    color: #126fcc;
    font-size: 1.05em;
}

.import-loading-content .progress {
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.import-loading-content .progress-bar {
    font-size: 16px;
    font-weight: bold;
    line-height: 30px;
}

.director-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #f1f2f6;
    transition: background-color 0.2s ease;
}

.director-item:hover {
    background-color: #f8f9fa;
}

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

.director-checkbox {
    margin-right: 12px;
}

.director-info {
    flex: 1;
}

.director-name {
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 2px;
}

.director-company {
    font-size: 14px;
    color: #7f8c8d;
}

.director-status {
    margin-left: 10px;
}

.status-badge {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.status-active {
    background-color: #d4edda;
    color: #155724;
}

.status-resigned {
    background-color: #f8d7da;
    color: #721c24;
}

.upload-progress {
    margin-top: 20px;
    display: none;
}

.progress {
    height: 8px;
    background-color: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: #3498db;
    transition: width 0.3s ease;
}

.progress-text {
    text-align: center;
    margin-top: 10px;
    color: #7f8c8d;
}

.upload-results {
    margin-top: 20px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    background-color: #f8f9fa;
    display: none;
}

.results-header h4 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.result-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
}

.result-item i {
    margin-right: 10px;
    font-size: 18px;
}

.result-item.success i {
    color: #27ae60;
}

.result-item.error i {
    color: #e74c3c;
}

.result-text {
    color: #2c3e50;
}

.results-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
}

.director-row-clickable {
    cursor: pointer;
}

/* Vue.js controlled visibility classes */
.show-section {
    display: block !important;
}

.show-flex {
    display: flex !important;
}

/* Vue transition bounce effect */
.bounce-enter-active {
    animation: bounce-in 0.5s;
}

.bounce-leave-active {
    animation: bounce-out 0.3s;
}

@keyframes bounce-in {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes bounce-out {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
    }
}

/* Responsive Design for Import Tab */
@media (max-width: 768px) {
    .upload-controls {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .file-input-group {
        flex-direction: column;
        align-items: stretch;
        min-width: auto;
    }
    
    .file-input-group input[type="file"] {
        width: 100%;
    }
    
    .selection-actions {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .left-actions, .right-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .selected-count {
        order: -1;
        margin-bottom: 10px;
    }
}

/* Monitored Directors - App Blue Theme */
.monitored-directors-list {
    max-height: none;
    overflow: visible;
}

.director-card {
    background: #ffffff;
    border: 2px solid #e3f2fd;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.director-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #6c757d;
}

.director-card.selected {
    border-color: #007bff;
    background: #f8f9ff;
    box-shadow: 0 6px 20px rgba(0,123,255,0.2);
}

.director-header {
    padding: 12px 16px;
    background: #6c757d;
    color: white;
    position: relative;
}

.director-header-content {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.director-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: white;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.director-info {
    flex: 1;
}

.director-name-line {
    display: grid;
    grid-template-columns: 1fr 200px 300px auto;
    align-items: center;
    gap: 20px;
    min-height: 40px;
}

.director-name {
    margin: 0;
    color: white;
    font-size: 22px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    min-height: 40px;
    line-height: 1.2;
    grid-column: 1;
}

.director-dob {
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    white-space: nowrap;
    min-height: 40px;
    line-height: 1.2;
    grid-column: 2;
}

.director-address {
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    white-space: nowrap;
    min-height: 40px;
    line-height: 1.2;
    grid-column: 3;
}

.director-dob i,
.director-address i {
    color: rgba(255,255,255,0.8);
    width: 14px;
    text-align: center;
}

.director-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.director-actions .btn-outline-danger {
    background-color: white;
    border-color: #dc3545;
    color: #dc3545;
    font-weight: 600;
}

.director-actions .btn-outline-danger:hover {
    background-color: #dc3545;
    border-color: #dc3545;
    color: white;
}

.director-appointments {
    padding: 12px 16px;
    background: #fafbfc;
}

.appointments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #e9ecef;
    border-radius: 8px;
    margin-bottom: 12px;
    transition: all 0.2s ease;
}

.appointments-header:hover {
    background: #dee2e6;
}

.appointments-summary {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #495057;
}

.appointments-summary i {
    color: #007bff;
}

.appointments-count {
    font-size: 14px;
}

.appointments-toggle {
    color: #6c757d;
    transition: transform 0.2s ease;
}

.appointments-list {
    animation: slideDown 0.3s ease;
}

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

.appointment-item {
    background: white;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    position: relative;
    overflow: hidden;
}

.appointment-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #6c757d;
}


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

/* Custom style for "Open in App" button */
.appointment-actions .btn-outline-primary {
    border-color: #0c5eb0;
    color: #0c5eb0;
}

.appointment-actions .btn-outline-primary:hover {
    background-color: #0c5eb0;
    border-color: #0c5eb0;
    color: white;
}

.director-appointment-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
}

.director-appointment-number {
    font-weight: 700;
    color: #495057;
    font-size: 16px;
    white-space: nowrap;
    flex-shrink: 0;
    min-height: 32px;
    display: flex;
    align-items: center;
}

.director-appointment-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    min-height: 32px;
    min-width: 120px;
    justify-content: center;
}

.status-current-appointment {
    background: #28a745;
    color: white;
    width: 180px;
    text-align: center;
    display: inline-block;
    text-transform: capitalize;
}

.status-appointed {
    background: #28a745;
    color: white;
    width: 180px;
    text-align: center;
    display: inline-block;
    text-transform: capitalize;
}

.status-resigned {
    background: #dc3545;
    color: white;
    width: 180px;
    text-align: center;
    display: inline-block;
    text-transform: capitalize;
}

.status-updated {
    background: #ffc107;
    color: #212529;
    width: 180px;
    text-align: center;
    display: inline-block;
    text-transform: capitalize;
}

.status-likely-dissolved,
.status-company-likely-dissolved {
    background: #dc3545;
    color: white;
    width: 180px;
    text-align: center;
    display: inline-block;
    text-transform: capitalize;
}

/* Import Loading Overlay */
.import-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.import-loading-content {
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.import-loading-content h4 {
    color: #007bff;
    margin: 20px 0 10px 0;
    font-weight: 600;
}

.import-loading-content p {
    color: #6c757d;
    margin-bottom: 20px;
    font-size: 14px;
}

.import-loading-content .spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 0.3em;
}

.import-loading-content .progress {
    height: 8px;
    border-radius: 4px;
    background-color: #e9ecef;
}

.import-loading-content .progress-bar {
    background: linear-gradient(45deg, #007bff, #0056b3);
    border-radius: 4px;
}

/* Ensure directors-selection has relative positioning for overlay */
.directors-selection {
    position: relative;
}

/* Appointment Type Badges */
.appointment-badges {
    display: flex;
    gap: 8px;
    margin-left: 12px;
}

.badge-current-appointment {
    background: #28a745;
    color: white;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 600;
}

.badge-likely-dissolved {
    background: #dc3545;
    color: white;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 600;
}

/* Director Monitoring Specific Styles */
.directors-count-badge {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: default;
}

.directors-count-badge:hover {
    color: #2c3e50 !important;
    background: none !important;
    border: none !important;
    transform: none !important;
    box-shadow: none !important;
}
/* Disable hover effects on Directors button */
.directors-count .btn[style*="cursor: default"]:hover {
    background-color: #007bff !important;
    border-color: #007bff !important;
    color: #fff !important;
    transform: none !important;
    box-shadow: none !important;
}

.director-appointment-company-info {
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
    gap: 8px;
}


.director-appointment-company-info strong {
    color: #2c3e50;
    font-size: 16px;
    font-weight: 600;
    display: inline;
}

.director-appointment-company-number {
    color: #6c757d;
    font-size: 13px;
    font-weight: 500;
    background: #e9ecef;
    padding: 2px 8px;
    border-radius: 12px;
    display: inline-block;
    white-space: nowrap;
}

.appointment-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    min-height: 32px;
    min-width: 80px;
    justify-content: flex-start;
}

.appointment-actions .btn {
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.appointment-actions .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,123,255,0.3);
}

.appointment-date {
    font-size: 13px;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    background: #f8f9fa;
    padding: 6px 12px;
    border-radius: 15px;
    white-space: nowrap;
    flex-shrink: 0;
    min-height: 32px;
    min-width: 140px;
    justify-content: flex-start;
}

.appointment-date .date-label {
    font-weight: 600;
    color: #495057;
    font-size: 12px;
}

.appointment-date i {
    color: #6c757d;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .director-appointment-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        flex-wrap: wrap;
    }
    
    .director-appointment-company-info {
        min-width: auto;
        width: 100%;
    }
    
    .appointment-actions {
        width: 100%;
        justify-content: flex-start;
        min-height: auto;
    }
    
    .appointment-date {
        min-height: auto;
    }
    
    .director-appointment-number,
    .director-appointment-status,
    .appointment-date {
        white-space: normal;
    }
}

.no-appointments {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px dashed #dee2e6;
    font-size: 16px;
}

.no-appointments i {
    margin-right: 8px;
    color: #6c757d;
    font-size: 18px;
}

/* Styles moved from Vue templates */
.search-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.feature-card {
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.feature-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.section-title {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 2rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.directors-dropdown {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    margin-top: 10px;
    padding: 15px;
}

.directors-list {
    max-height: 300px;
    overflow-y: auto;
}

.director-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
}

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

.director-info {
    flex: 1;
    min-width: 0;
}

.director-name {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.director-name strong {
    color: #2c3e50;
    word-break: break-word;
}

.status-badge {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
}

.badge-success {
    background-color: #d4edda;
    color: #155724;
}

.badge-danger {
    background-color: #f8d7da;
    color: #721c24;
}

.director-details {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 12px;
    color: #6c757d;
}

.director-address,
.director-dob {
    display: flex;
    align-items: center;
    gap: 5px;
}

.director-address i,
.director-dob i {
    font-size: 10px;
    width: 12px;
}

.director-actions {
    margin-left: 15px;
    flex-shrink: 0;
}

.director-actions .btn {
    padding: 4px 8px;
    font-size: 11px;
    min-width: 80px;
}

@media (max-width: 768px) {
    .director-item {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .director-actions {
        margin-left: 0;
        align-self: center;
    }
    
    .director-details {
        flex-direction: column;
    }
}
 