.dekkjasalan-search-boxes {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px;
}

.csb-container {
    background-color: #ff6600;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.csb-container h2 {
    color: #000;
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 600;
}

.csb-container form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.csb-form-elements {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
}

.csb-dropdown {
    flex: 1;
    min-width: 100px;
    padding: 0;
    margin-bottom: 0;
}

.csb-dropdown label {
    display: block;
    color: #000;
    font-size: 14px;
    margin-bottom: 4px;
    font-weight: 500;
}

.csb-dropdown select {
    width: 100%;
    min-width: 0;
    height: 35px;
    padding: 0 8px;
    font-size: 14px;
    border: 1px solid #3F4047;
    border-radius: 4px;
    background-color: #fff;
    cursor: pointer;
    transition: border-color 0.3s ease;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.csb-dropdown select:hover,
.csb-dropdown select:focus {
    border-color: #000;
    outline: none;
}

.dekkjasalan-submit-btn {
    flex: 0 0 auto;
    min-width: 90px;
    height: 35px;
    padding: 0 12px;
    margin: 0;
    white-space: nowrap !important;
    font-size: 14px !important;
    line-height: 0px !important;
    font-weight: 600 !important;
    color: #fff !important;
    background-color: #3F4047 !important;
    border: 1px solid #3F4047 !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.dekkjasalan-submit-btn:hover {
    background-color: #000000 !important;
    border-color: #000000 !important;
    transform: translateY(-2px) !important;
}

.error-message {
    background-color: #ffebee;
    border: 1px solid #f44336;
    color: #b71c1c;
    padding: 8px 12px;
    margin-top: 10px;
    border-radius: 4px;
    font-size: 14px;
    text-align: left;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: opacity 0.3s ease-in-out;
    width: 100%;
}

.error-message:empty {
    display: none;
}

/* Responsive Design */
@media (min-width: 768px) {
    .dekkjasalan-search-boxes {
        flex-direction: row;
        align-items: stretch;
    }

    .csb-container {
        width: calc(50% - 10px);
    }
}

@media (max-width: 991px) {
    .csb-container {
        padding: 20px;
    }
    
    .csb-dropdown {
        min-width: 100px;
    }
    
    .csb-container form {
        gap: 8px;
    }
}

@media (max-width: 767px) {
    .csb-container {
        padding: 20px;
    }

    .csb-container form {
        flex-direction: column;
        gap: 15px;
    }

    .csb-form-elements {
        flex-direction: column;
        gap: 15px;
    }

    .csb-dropdown {
        flex: 1 1 100%;
        min-width: 100%;
    }

    .csb-dropdown select {
        width: 100%;
    }

    .dekkjasalan-submit-btn {
        width: 100%;
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    .csb-container h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .csb-container {
        padding: 15px;
    }
}
