﻿.flt-comp {
}

    .flt-comp .dashboard-page {
        display: flex;
        flex-direction: column;
        height: calc(100vh - 105px);
    }

    .flt-comp .v-spacer {
        margin-bottom: 30px;
    }
/*---NEW GRID------------------------------------------------------------------------*/
    .flt-comp form {
        max-width: 900px;
        margin: auto;
        border-radius: 6px;
        font-family: 'Segoe UI', Arial, sans-serif;
    }


    .flt-comp .field-row {
        display: grid;
        column-gap: 20px;
        row-gap: 16px;
        margin-bottom: 12px;
    }

        .flt-comp .field-row.cols-2 {
            grid-template-columns: repeat(2, 1fr);
        }

        .flt-comp .field-row.cols-3 {
            grid-template-columns: repeat(3, 1fr);
        }

    .flt-comp .field-group {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

        .flt-comp .field-group label {
            font-weight: 600;
            font-size: 14px;
            margin-bottom: 4px;
        }

            .flt-comp .field-group label.required::after {
                content: " *";
                color: red;
                margin-left: 2px;
                font-weight: bold;
            }

        .flt-comp .field-group input {
            padding: 8px;
            border: 1px solid #ccc;
            border-radius: 4px;
            font-size: 14px;
            max-width: 100%;
        }

        .flt-comp .field-group select {
            border: 1px solid #ccc;
            border-radius: 4px;
            font-size: 14px;
            max-width: 100%;
            margin: 0;
        }

        .flt-comp .field-group input:focus {
            border-color: #0078d4;
            outline: none;
        }

    .flt-comp .error {
        color: red;
        font-size: 12px;
        margin-top: 4px;
    }

    .flt-comp input:invalid + .error {
        display: block;
    }
/*---NEW GRID------------------------------------------------------------------------*/

    .flt-comp .dashboard-body {
        flex: 1;
        display: flex;
        padding: 0px;
        gap: 15px;
        min-height: 0;
        box-sizing: border-box;
        position: relative;
        height: calc(100vh - 115px);
        font-size: 12pt;
    }

    @media (min-width: 1200px) {
        .dashboard-body {
            height: calc(100vh - 110px);
        }
    }

    .flt-comp .flight-data-view {
        flex: 1;
        padding: 12px;
        overflow-y: auto;
        min-height: 0;
    }

    .flt-comp .service-data-view {
        border-radius: 8px 8px 0 0;
        background: rgba(5, 28, 44, 0.04);
    }

    .flt-comp .wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 60px 60px;
        gap: 10px;
    }

    .flt-comp .service-info {
        font-family: 'Segoe UI';
        color: #333333;
    }

    .flt-comp .svc-key {
        font-size: 16px;
        vertical-align: middle;
    }

    .flt-comp .svc-val {
        font-family: 'Segoe UI';
        font-size: 20px;
    }

    .flt-comp .header {
        font-size: 14pt;
    }

    .flt-comp .flight-data-summary {
        padding: 4px 4px 0 7px;
        color: white;
        height: 30px;
        background: #455;
        border-radius: 4px;
        margin-right: 5px;
        font-weight: 600;
        font-size: small;
    }

    .flt-comp .traveler-data-view {
        padding-top: 0;
        padding-right: 0;
    }

    .flt-comp .user-guide {
        font-family: monospace;
        margin-bottom: 10px;
        font-size: small;
    }

    .flt-comp .line-divider {
        border-bottom: 1px solid #dcdcdc;
    }

    .flt-comp .service-summary-body {
        transition: all 0.2s ease-in-out;
    }

    .flt-comp .active-traveler-row {
        background-color: #014F98 !important; 
        color: white !important;
    }

    .flt-comp .default-btn {
        border-radius: 2px;
        border: 1px solid #2F6EAC;
        font-family: 'Segoe UI';
        font-weight: 700;
        width: 37px;
        height: 39px;
        color: #fff;
        font-size: 16px;
        font-style: normal;
        line-height: 21px;
        align-items: center;
        text-align: center;
        box-sizing: border-box;
        flex-direction: row;
        justify-content: center;
        gap: 10px;
        padding: 0;
        min-width: 130px;
    }

    .flt-comp table.fixed-actions {
        table-layout: fixed;
        width: 100%;
    }

        .flt-comp table.fixed-actions td {
            vertical-align: middle;
        }

    .flt-comp td.actions-cell {
        width: 50px;
        text-align: right;
        white-space: nowrap;
        padding-right: 10px;
    }

        .flt-comp td.actions-cell .dropdown {
            display: inline-block;
        }

    .flt-comp .kebab-icon-btn {
        background: transparent;
        border: none;
        padding: 0;
        margin: 0;
        width: 24px;
        height: 24px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-shadow: none;
    }

        .flt-comp .kebab-icon-btn:hover,
        .flt-comp .kebab-icon-btn:focus {
            background: transparent;
            box-shadow: none;
            outline: none;
        }

    .flt-comp .kebab-icon {
        width: 18px;
        height: 18px;
        display: block;
    }

    .flt-comp .dropdown-menu-right {
        right: 0;
        left: auto;
    }
/* on edit table is locked*/
    .flt-comp .table.table-locked {
        opacity: 0.6;
    }

        .flt-comp .table.table-locked .actions-cell {
            pointer-events: none;
        }
/* Sections */
    .flt-comp .section-header {
        display: flex;
        align-items: center;
        align-self: stretch;
        padding-bottom: 6px;
        margin-bottom: 15px;
    }

    .flt-comp .section-header-divide {
        border-bottom: 1px solid silver;
    }
/* LEFT SIDE GROUP */
    .flt-comp .flt-comp .left-group {
        display: flex;
        align-items: center;
        gap: 4px;
    }
/* pushes right group to far end */
    .flt-comp .right-group {
        margin-left: auto;
        display: flex;
        align-items: center;
    }
/* optional styling */
    .flt-comp .title {
        font-size: 1.1em;
    }
/* push last button to far right */
    .flt-comp .toggle-btn {
        margin-left: auto;
    }

    .flt-comp .narrow-cell {
        width: 40px;
        text-align: center;
        vertical-align: middle;
    }

    .flt-comp .travelerType-icon {
        width: 18px;
        height: 18px;
        display: inline-block;
    }

    .flt-comp .count-cell {
        font-weight: bolder;
    }
/*table overlay*/
    .flt-comp .table-overlay-wrapper {
        position: relative;
        margin-top: 10px;
    }
/* Overlay layer */
    .flt-comp .table-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.01);
        backdrop-filter: blur(1px);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 10;
    }

    .flt-comp .table td, .table th {
        border-top: none !important;
    }

    .flt-comp .overlay-content {
        background: #fff;
        padding: 10px 16px;
        border-radius: 6px;
        font-size: 14px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .flt-comp .spinner {
        width: 34px;
        height: 34px;
        border: 2px solid #ccc;
        border-top-color: #004F98;
        border-radius: 50%;
        animation: spin 0.6s linear infinite;
        display: inline-block;
    }

    @keyframes spin {
        to {
            transform: rotate(360deg);
        }
    }

.flt-comp .icon-btn {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    box-shadow: none;
    display: inline-flex;
    min-width: 20px;
    cursor: pointer;
}

    .flt-comp .icon-btn:focus,
    .flt-comp .icon-btn:hover {
        background: transparent;
        box-shadow: none;
        outline: none;
    }
/*country-port selections*/
    .flt-comp .combo-control {
        display: flex;
        width: 100%;
    }
    /* Country */
        .flt-comp .combo-control select {
            flex: 0 0 40%;
            max-width: 40%;
            margin-left: 0;
        }
    /* Port */
        .flt-comp .combo-control input {
            flex: 1;
            border-radius: 0 5px 5px 0 !important;
        }
 
/*buttons*/
    .flt-comp .actions-group {
        margin-left: 5px;
    }

    .flt-comp .btn-disabled {
        opacity: 0.5;
        border: 1px solid #2F6EAC;
        color: #004F98;
        cursor: not-allowed !important;
    }

    .flt-comp .btn-enabled {
        background-color: #004F98;
        border: 1px solid #2F6EAC;
        color: #fff;
        cursor: pointer !important;
    }
/*buttons*/

    .flt-comp .validation-error {
        color: red;
        font-size: small;
        padding-left: 4px;
        opacity: 0.7;
    }

    .flt-comp select.is-placeholder {
        color: #999;
    }

    .flt-comp .submission-success {
        min-height: calc(100vh - 120px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1.5rem;
        text-align: center;
        font-size: 1.4rem;
        padding: 2rem 1rem;
        flex: 2;
    }

        .flt-comp .submission-success img {
            width: 32px;
            height: 32px;
        }

    .flt-comp .submission-success__msg {
        font: 400 24px/32px 'Segoe UI', Arial, sans-serif;
        color: #333;
        margin: 0;
    }
    .flt-comp .submission-download-info {
        font-size: 18px;
    }
    .flt-comp .submission-history-info {
        font-size: 14px;
        color: rgba(51, 51, 51, 0.64);
    }

    .flt-comp .submission-success__actions {
        display: flex;
        gap: 2rem;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 30px;
    }

    .flt-comp .submission-wide {
        padding-left: 30px;
        padding-right: 30px;
    }
