/* Main Wrapper */
#ccj-wrapper {
    font-family: 'Arial', sans-serif;
    max-width: 90%;
    margin: 10px auto;
    background-color: #6cb9ff57;
    padding: 13px 0 7px 13px;
    border-radius: 8px;
    color: #fff;
}

/* Flight Bar Container */
.ccj-flight-bar {
    display: flex;
    background: #fff;
    border-radius: 4px;
    overflow: visible;
    color: #333;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    position: relative;
    flex-wrap: wrap;
    width: 85%;
    float: left;
    
}

/* Input Groups */
.ccj-input-group {
    padding: 15px;
    border-right: 1px solid #eee;
    position: relative;
    flex: 1;
    min-width: 200px;
}

.ccj-input-group:last-child {
    border-right: none;
}

.ccj-label {
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
    font-weight: bold;
}

.ccj-subtext {
    font-size: 12px;
    color: #777;
    margin-top: 2px;
}

.ccj-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #ccc;
    font-size: 14px;
}

/* Inputs */
.ccj-input-group input[type="text"] {
    width: 100%;
    border: none;
    font-size: 16px;
    font-weight: bold;
    padding: 0;
    outline: none;
    background: transparent;
    color: #333;
}

.ccj-input-group input[type="text"]::placeholder {
    color: #999;
    font-weight: normal;
}

/* Date & Time Section */
.ccj-date-time {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 150px;
}

.ccj-date-row,
.ccj-time-row {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.ccj-date-row i,
.ccj-time-row i {
    margin-right: 8px;
    color: #999;
    width: 16px;
}

.ccj-date-time input {
    border: none;
    outline: none;
    font-size: 14px;
    color: #333;
    background: transparent;
    width: 100%;
}

/* Passengers */
.ccj-passengers {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100px;
}

.ccj-passengers input {
    width: 50px;
    border: none;
    font-size: 24px;
    text-align: center;
    outline: none;
}

.ccj-passengers i {
    font-size: 18px;
    color: #999;
}

/* Controls Section */
.ccj-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    width: 15%;
    padding:0 10px;
}

.ccj-trip-type {
    display: flex;
    gap: 10px;
}

.ccj-btn-toggle {
    cursor: pointer;
    background: #0e94d1;
    padding: 3px;
    border-radius: 3px;
    color: #fff;
    font-size: 10px;
    display: flex;
    align-items: center;
    transition: background 0.3s;
}

.ccj-btn-toggle:hover {
    background: #46627f;
}

.ccj-btn-toggle input {
    display: none;
}

.ccj-btn-toggle input:checked+span {
    font-weight: bold;
    text-decoration: underline;
}

.ccj-action-btn {
   background-color: #0084c0;
    color: #fff;
    border: none;
    padding: 16px 17px;
    font-size: 15px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.3s;
}

.ccj-action-btn:hover {
    background-color: #16a085;
}

/* Suggestions Dropdown */
.ccj-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    z-index: 100;
    max-height: 200px;
    overflow-y: auto;
    display: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.ccj-suggestion-item {
    padding: 10px;
    cursor: pointer;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
}

.ccj-suggestion-item:hover {
    background-color: #f9f9f9;
}

/* Step 2: Contact Card */
.ccj-contact-card {
    background: #fff;
    padding: 30px;
    border-radius: 4px;
    color: #333;
    margin-top: 20px;
}

.ccj-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.ccj-form-group {
    margin-bottom: 15px;
}

.ccj-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.ccj-form-group input,
.ccj-form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.ccj-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.ccj-secondary-btn {
    background: #95a5a6;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
}

.ccj-primary-btn {
    background: #1abc9c;
    color: #fff;
    border: none;
    padding: 10px 30px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.hidden {
    display: none;
}

#ccj-message {
    margin-top: 15px;
    color: #fff;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {

    /* Stack everything */
    #ccj-wrapper {
        padding: 10px;
    }

    .ccj-step:not(.hidden) {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    /* Flight bar becomes vertical */
    .ccj-flight-bar {
        width: 100%;
        flex-direction: column;
    }

    .ccj-input-group {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #eee;
        padding: 12px;
    }

    .ccj-input-group:last-child {
        border-bottom: none;
    }

    /* Date & Time inline */
    .ccj-date-time {
        flex-direction: row;
        justify-content: space-between;
        gap: 15px;
    }

    .ccj-date-row,
    .ccj-time-row {
        width: 50%;
    }

    /* Passengers centered */
    .ccj-passengers {
        justify-content: center;
        gap: 10px;
    }

    .ccj-passengers input {
        font-size: 20px;
        width: 60px;
    }

    /* Controls go below */
    .ccj-controls {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .ccj-trip-type {
        justify-content: center;
    }

    .ccj-btn-toggle {
        flex: 1;
        justify-content: center;
        font-size: 12px;
        padding: 8px;
    }

    /* Button full width */
    .ccj-action-btn {
        width: 100%;
        padding: 14px;
        font-size: 16px;
    }

    /* Step 2 Form */
    .ccj-grid-2 {
        grid-template-columns: 1fr;
    }

    .ccj-actions {
        flex-direction: column;
        gap: 10px;
    }

    .ccj-secondary-btn,
    .ccj-primary-btn {
        width: 100%;
        padding: 12px;
    }

}

/* Modal Styles Removed for Shortcode Version */