.bmr-duffel-flight-search {
    max-width: 1200px;
    margin: 30px auto;
    padding: 25px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.10);
    color: #1f2937;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.bmr-duffel-flight-form {
    width: 100%;
}

.bmr-duffel-tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 22px;
    align-items: center;
}

.bmr-duffel-tabs label {
    font-weight: 600;
    color: #374151;
    cursor: pointer;
}

.bmr-duffel-tabs input {
    margin-right: 6px;
}

.bmr-duffel-grid {
    display: grid;
    grid-template-columns: 1.2fr 45px 1.2fr 1.2fr 1.2fr 0.8fr 0.8fr 0.8fr 1fr;
    gap: 12px;
    align-items: end;
}

.bmr-duffel-grid label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #374151;
}

.bmr-duffel-grid input,
.bmr-duffel-grid select {
    width: 100%;
    height: 45px;
    padding: 0 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #ffffff;
    color: #111827;
    font-size: 14px;
    outline: none;
}

.bmr-duffel-grid input:focus,
.bmr-duffel-grid select:focus {
    border-color: #0042a5;
    box-shadow: 0 0 0 2px rgba(0, 66, 165, 0.10);
}

.bmr-duffel-grid small {
    font-size: 10px;
    color: #9ca3af;
    font-weight: 400;
}

.bmr-duffel-swap {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: #0042a5;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 3px;
}

.bmr-duffel-swap:hover {
    background: #f0f4f9;
}

.bmr-duffel-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    gap: 20px;
}

.bmr-duffel-bottom label {
    font-size: 14px;
    color: #4b5563;
    cursor: pointer;
}

.bmr-duffel-bottom button {
    background: #f05423;
    color: #ffffff;
    border: none;
    padding: 13px 30px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}

.bmr-duffel-bottom button:hover {
    background: #d94212;
}

.bmr-duffel-loading {
    margin-top: 20px;
    padding: 15px;
    background: #f0f6ff;
    color: #0042a5;
    border-radius: 8px;
    font-weight: 600;
}

.bmr-duffel-message {
    margin-top: 15px;
}

.bmr-duffel-error {
    padding: 14px 16px;
    border-radius: 8px;
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
    font-weight: 600;
}

.bmr-duffel-selected {
    padding: 14px 16px;
    border-radius: 8px;
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
    font-weight: 600;
}

.bmr-duffel-no-results {
    margin-top: 20px;
    padding: 20px;
    border-radius: 8px;
    background: #f9fafb;
    color: #6b7280;
    text-align: center;
}

.bmr-duffel-results {
    margin-top: 25px;
}

.bmr-duffel-results h3 {
    margin: 0 0 15px;
    color: #1f2937;
    font-size: 20px;
}

.bmr-duffel-flight-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 20px;
    margin-bottom: 15px;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
}

.bmr-duffel-flight-info {
    flex: 1;
}

.bmr-duffel-airline {
    font-size: 17px;
    font-weight: 800;
    color: #1f2937;
}

.bmr-duffel-flight-number {
    margin-top: 4px;
    color: #6b7280;
    font-size: 13px;
}

.bmr-duffel-times {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 12px;
    color: #0042a5;
}

.bmr-duffel-arrow {
    color: #9ca3af;
    font-size: 20px;
}

.bmr-duffel-stops {
    margin-top: 8px;
    color: #6b7280;
    font-size: 13px;
}

.bmr-duffel-flight-price {
    min-width: 160px;
    text-align: right;
}

.bmr-duffel-price {
    color: #0042a5;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 10px;
}

.bmr-duffel-select {
    background: #f05423;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 7px;
    font-weight: 700;
    cursor: pointer;
}

.bmr-duffel-select:hover {
    background: #d94212;
}

/* Tablet */
@media (max-width: 1100px) {

    .bmr-duffel-grid {
        grid-template-columns: 1fr 45px 1fr 1fr;
    }

    .bmr-duffel-grid label:nth-of-type(n+4) {
        margin-top: 5px;
    }
}

/* Mobile */
@media (max-width: 700px) {

    .bmr-duffel-flight-search {
        margin: 15px 10px;
        padding: 18px;
        border-radius: 12px;
    }

    .bmr-duffel-tabs {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .bmr-duffel-grid {
        display: flex;
        flex-direction: column;
        gap: 14px;
        align-items: stretch;
    }

    .bmr-duffel-grid label {
        width: 100%;
    }

    .bmr-duffel-swap {
        align-self: center;
        transform: rotate(90deg);
    }

    .bmr-duffel-bottom {
        flex-direction: column;
        align-items: stretch;
    }

    .bmr-duffel-bottom button {
        width: 100%;
    }

    .bmr-duffel-flight-card {
        flex-direction: column;
        align-items: stretch;
    }

    .bmr-duffel-flight-price {
        text-align: left;
        min-width: 0;
    }

    .bmr-duffel-select {
        width: 100%;
    }

    .bmr-duffel-times {
        justify-content: space-between;
    }
}
