/* Main Search Style */

.gsp-search-form .input-group {
    display: flex;
    align-items: center;
}

.gsp-input-wrapper {
    position: relative;
    flex-grow: 1;
}

.gsp-search-form .form-control {
    width: 100%;
    padding: 12px 15px 12px 45px; /* Leave space for logo */
    border: 1px solid #dfe1e5;
    border-radius: 24px 0 0 24px;
    font-size: 16px;
    box-shadow: none;
    transition: box-shadow 0.2s, border 0.2s;
    background: #fff;
}

.gsp-search-form .form-control:focus {
    outline: none;
    border-color: transparent;
    box-shadow: 0 1px 6px rgba(32,33,36,0.28);
}

/* Google Logo Placeholder */
.gsp-google-logo {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path fill="%23EA4335" d="M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z"/><path fill="%234285F4" d="M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z"/><path fill="%23FBBC05" d="M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24s.92 7.54 2.56 10.78l7.97-6.19z"/><path fill="%2334A853" d="M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z"/><path fill="none" d="M0 0h48v48H0z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    opacity: 0.8;
}

.gsp-search-form .btn {
    padding: 12px 25px;
    border: none;
    border-radius: 0 24px 24px 0;
    background-color: #34a853; /* Google Green */
    color: white;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    transition: background 0.2s;
}

.gsp-search-form .btn:hover {
    background-color: #2d8e47;
}

/* Results Container Styling */
.gsp-results-container {
    padding: 20px;
}

/* Fix CSE styles if needed */
.gsc-control-cse {
    padding: 0 !important;
    border: none !important;
}
