/* MARS Extended Search Styles */
#mars-extended-search-wrapper {
    max-width: 1200px;
    margin: 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

#mars-extended-search-form {
    display: flex;
    gap: 15px;
    flex-wrap: nowrap;
    align-items: flex-end;
    margin: 20px 0;
}

.mars-form-field {
    flex: 1;
    min-width: 0;
}

.mars-select, .mars-input {
    width: 100%;
    height: 50px;
    padding: 0 15px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 6px;
    background: rgba(255,255,255,0.1);
    color: #ffffff !important;
    font-size: 14px;
    backdrop-filter: blur(10px);
    transition: all 0.2s ease;
}

.mars-select:focus, .mars-input:focus {
    outline: none;
    border-color: rgba(255,255,255,0.8);
    box-shadow: 0 0 0 3px rgba(255,255,255,0.1);
}

.mars-select:disabled {
    background-color: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.6) !important;
    cursor: not-allowed;
}

.mars-select option {
    background: #ffffff;
    color: #000000 !important;
}

.mars-input::placeholder {
    color: rgba(255,255,255,0.7);
}

.mars-submit-btn {
    width: 180px;
    height: 55px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 10px;
}

.mars-submit-btn:hover:not(:disabled) {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.mars-submit-btn:active {
    transform: translateY(0);
}

.mars-submit-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.mars-message {
    display: none;
    padding: 15px;
    margin: 15px 0;
    border-radius: 6px;
    background: rgba(255,255,255,0.9);
    color: #000000;
}

.mars-message.success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.mars-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.mars-results {
    display: none;
    background: rgba(255,255,255,0.9);
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    backdrop-filter: blur(10px);
    color: #000000;
}

.mars-success-result {
    text-align: center;
}

.mars-search-summary {
    background: rgba(248,250,252,0.7);
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 20px;
}

.mars-search-summary p {
    margin: 4px 0;
}

.mars-result-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.mars-result-btn {
    flex: 1;
    min-width: 160px;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.mars-request-btn {
    background: #059669;
    color: white;
}

.mars-request-btn:hover {
    background: #047857;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.4);
}

.mars-search-again-btn {
    background: #6b7280;
    color: white;
}

.mars-search-again-btn:hover {
    background: #4b5563;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.4);
}