body {
    font-family: 'Poppins', sans-serif;
    background-color: #f0f4f8; /* Light blue-gray background from image */
    color: #3d4f6c;
}

.main-container {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* Header Box Styling */
.header-section {
    background-color: white;
    padding: 2.5rem;
    border-radius: 1.25rem; /* More pronounced radius from image */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    max-width: 1116px; /* Aligns with the width of 3 cards + gutters */
    margin: 0 auto;
}

.header-section h1 {
    font-weight: 700;
    color: #1e3c72;
}

.header-section .lead {
    color: #6c757d;
    font-size: 1rem;
    font-weight: 400;
}

/* NEW: Search Bar Container */
.search-input-container {
    position: relative;
    display: flex;
    align-items: center;
    background-color: #f8fafc; /* Very light background for the input area */
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 0.25rem; /* Small padding to house the button */
    transition: border-color 0.2s ease;
}
.search-input-container:focus-within {
    border-color: #8ab4f8; /* Blue highlight on focus */
}

/* Input field inside the new container */
.search-input-container .form-control {
    border: none;
    background-color: transparent;
    box-shadow: none !important;
    flex-grow: 1;
    padding: 0.75rem 1rem;
    padding-right: 200px; /* Make space for the two buttons */
}

/* Reset button ('X') inside the container */
#resetBtn {
    position: absolute;
    right: 180px; /* Positioned to the left of the search button */
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    font-size: 1.2rem;
    color: #999;
    cursor: pointer;
    z-index: 3;
}

/* Search button inside the container */
.search-input-container .btn-primary {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    height: calc(100% - 12px); /* Fits neatly inside with padding */
    background-color: #1e3c72;
    border-color: #1e3c72;
    font-weight: 500;
    border-radius: 0.5rem; /* Slightly smaller radius than container */
    min-width: 165px;
    z-index: 2;
}


/* --- The rest of the styles are correct and unchanged --- */
#resultsHeader {
    font-weight: 600;
    color: #333;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

#resultsContainer.visible {
    display: block;
    animation: fadeIn 0.5s ease-out forwards;
}

.settings-card {
    background: #ffffff;
    border: none;
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    width: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.settings-card:hover{
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.settings-card .card-header {
    background-color: #1e3c72;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.9rem 1.25rem;
    display: flex;
    align-items: center;
    border-bottom: none;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}

.settings-card .card-header i {
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

.list-group {
    flex-grow: 1;
}

.list-group-item {
    padding: 0.8rem 1.25rem;
    background-color: transparent;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 72px;
}

.list-group-item:last-child {
    border-bottom: none;
}

.list-group-item strong {
    font-weight: 600;
    font-size: 0.9rem;
    color: #333;
}

.setting-value {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #555;
    font-weight: 400;
    font-size: 0.95rem;
    margin-top: 2px;
}

.copy-btn {
    background: none;
    border: none;
    color: #adb5bd;
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.2s ease;
    padding: 0;
    margin-left: 0.5rem;
}
.copy-btn:hover {
    color: #1e3c72;
}

#errorContainer, #resultsContainer {
    display: none;
}

/* Beta Notice Alert Styling */
.alert-beta {
    background-color: #e7f5ff; /* A light, welcoming blue */
    border-color: #b3e0ff;
    color: #0d6efd; /* A strong, readable blue for the text */
    border-radius: 0.75rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.alert-beta strong {
    color: #0a58ca; /* A slightly darker blue for the "Early Access:" text */
}

.alert-beta .fa-flask {
    color: #0d6efd;
    opacity: 0.8;
}
