/* Wrapper Background */
.ccs-wrapper {
    /* Very subtle gradient like the image */
    background: linear-gradient(180deg, #FDFEFF 0%, #F0F4F8 100%);
    padding: 60px 10px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    width: 100%;
    box-sizing: border-box;
}

/* Center Container */
.ccs-container {
    max-width: 900px; /* Controls how wide the whole section gets */
    margin: 0 auto;
    display: flex;
    flex-direction: column; /* Stack Top to Bottom */
    align-items: flex-start; /* Align Left */
}

/* Typography */
.ccs-heading-group {
    margin-bottom: 20px;
    text-align: left;
}

.ccs-text-small {
    font-size: 22px;
    font-weight: 700;
    color: #111;
    margin-bottom: 5px;
}

.ccs-text-large {
    font-size: 34px;
    font-weight: 800;
    color: #111;
    line-height: 1.1;
}

/* Search Bar Wrapper */
.ccs-search-bar-wrapper {
    width: 100%; /* Full Width of container */
    position: relative;
}

/* Input Box Style (The Pill) */
.ccs-input-group {
    background: #FFFFFF;
    border: 1px solid #DCE0E8;
    border-radius: 50px;
    padding: 8px 10px 8px 25px; /* Padding inside the box */
    display: flex;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}

/* Active State (Blue Border) */
.ccs-input-group:hover, 
.ccs-input-group:focus-within {
    border-color: #4B7BFF;
    box-shadow: 0 4px 15px rgba(75, 123, 255, 0.15);
}

/* Text Field */
#ccs-input {
    flex-grow: 1;
    border: none;
    background: transparent;
    font-size: 17px;
    color: #333;
    outline: none;
    padding: 10px 0;
}

#ccs-input::placeholder {
    color: #999;
    font-weight: 400;
}

/* Icons Area */
.ccs-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-right: 5px;
}

/* Buttons */
#ccs-mic-btn, #ccs-submit-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
    border-radius: 50%;
}

#ccs-mic-btn:hover { background-color: #f5f5f5; }
#ccs-submit-btn:hover { background-color: #eff6ff; }

/* Mic Animation */
#ccs-mic-btn.listening svg {
    fill: #ff4d4d;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Dropdown Results */
.ccs-results-dropdown {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 1000;
    display: none;
    overflow: hidden;
    border: 1px solid #eee;
}

.ccs-results-dropdown ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ccs-results-dropdown li {
    border-bottom: 1px solid #f7f7f7;
}

.ccs-results-dropdown a {
    display: block;
    padding: 15px 25px;
    text-decoration: none;
    color: #444;
    font-size: 16px;
}

.ccs-results-dropdown a:hover {
    background: #f4f8ff;
    color: #4B7BFF;
}

.ccs-no-results {
    padding: 20px;
    text-align: center;
    color: #888;
}

/* Mobile Adjustments */
@media screen and (max-width: 600px) {
    .ccs-text-small { font-size: 18px; }
    .ccs-text-large { font-size: 26px; }
    .ccs-wrapper { padding: 40px 15px; }
    .ccs-input-group { padding-left: 15px; }
}