.csb-search-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    width: 100%;
    max-width: 800px; /* Or adjust as needed */
}

.csb-search-form .csb-form-row {
    display: flex;
    border: 1px solid #303030;
    border-radius: 9999px; /* Fully rounded corners */
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.csb-platform-selector,
.csb-category-search,
.csb-search-submit {
    display: flex;
    align-items: center; /* Vertically center content */
}

.csb-platform-selector,
.csb-category-search {
    flex: 1;
    padding: 12px 20px;
}

.csb-platform-selector {
    border-right: 1px solid #E0E0E0;
    flex-basis: 40%;
    position: relative; /* For custom arrow */
}

.csb-category-search {
    flex-basis: 60%;
}


.csb-platform-selector-inner,
.csb-category-search-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
}


.csb-form-row label {
    font-size: 15px;
    font-weight: 600;
    color: #222;
    margin-bottom: 2px;
    padding: 0;
    line-height: 1;
}

.csb-form-row select,
.csb-form-row input[type="text"] {
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
    font-size: 16px;
    color: #666;
    padding: 0;
    margin: 0;
    line-height: 1.2;
}

.csb-form-row select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    padding-right: 20px; /* Space for the custom arrow */
}

/* Custom Arrow for Platform Selector */
.csb-platform-arrow {
	    width: 14px; /* Adjust size as needed */
    height: 14px;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none; /* Make it non-interactive */
}


.csb-search-submit {
    padding: 6px;
}

.csb-search-button {
    background: radial-gradient(circle, #471DF0 0%, #471DF0 100%);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: white;
    border: none !important;
    border-radius: 99999px !important;
    width: 50px;
    height: 50px;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
   transition: all 0.2s ease-in-out;
}
.csb-search-button i {
    line-height: 1;
}

.csb-search-button img {
    width: 24px;  /* Match the previous icon font-size */
    height: auto;
}
.csb-search-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.12);
    background: radial-gradient(circle, #5a32f1 0%, #5a32f1 100%); /* Slightly lighter for hover effect */
}

/* Suggestions Box Adjustments */
#csb-category-suggestions {
    position: absolute;
    background-color: white;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    z-index: 1000;
    top: calc(100% + 5px); /* Position it below the search bar */
    left: 0;
    right: 0;
    max-height: 250px;
    overflow-y: auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: none; /* Initially hidden */
}

#csb-category-suggestions div {
    padding: 12px 20px;
    cursor: pointer;
    font-size: 15px;
}

#csb-category-suggestions div:hover {
    background-color: #f5f5f5;
}

.csb-category-search {
    position: relative; /* Needed for suggestions box positioning */
}

@media (min-width: 768px) {
    .csb-search-button span {
        display: none;
    }
}

/* =============================================== */
/* ============== MOBILE STYLES ============== */
/* =============================================== */

@media (max-width: 768px) {
    .csb-search-form .csb-form-row {
        flex-direction: column;
        border-radius: 12px;
        background: #fff;
        padding: 10px;
        border: none;
        box-shadow: none;
    }

    .csb-platform-selector,
    .csb-category-search {
        border-right: none;
        padding: 15px 10px;
        flex-basis: auto; /* Reset flex-basis */
    }

    .csb-platform-selector {
        border-bottom: 1px solid #eee;
    }

    .csb-form-row label {
        font-size: 15px;
        font-weight: 700;
    }
    
    .csb-form-row select,
    .csb-form-row input[type="text"] {
        font-size: 14px;
        color: #777;
    }

    .csb-search-submit {
        padding: 10px 0 0 0;
    }

    .csb-search-button {
        width: 100% !important;
        border-radius: 10px !important;
        height: 50px;
        justify-content: center;
    text-align: center;
    display: flex !important;
    color: white !important;
    }
    
    .csb-search-button img {
        display: block;
    }

    .csb-search-button span {
        display: inline;
        margin-left: 10px;
        font-size: 16px;
        font-weight: 600;
    }

    .csb-platform-selector::after {
        right: 10px;
    }

    #csb-category-suggestions {
        top: 100%;
        left: 10px;
        right: 10px;
        width: auto;
    }
	.csb-search-container {
		    border: 1px solid #303030;
    border-radius: 12px; /* Fully rounded corners */
	}
} 