/* Styles for the CountrySelectorWidget */
.widget-outer-container {
    /* Styles for the widget's main bounding box if needed, e.g. mx-auto */
}

.widget-container {
    width: 100%;
    max-width: 580px;
    background-color: #1f2937; /* bg-gray-800 */
    padding: 0.75rem; /* p-3 */
    border-radius: 0.5rem; /* rounded-lg */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* shadow-lg */
    border: 1px solid #374151; /* border-gray-700 */
}

.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #374151; /* bg-gray-700 */
    border-radius: 8px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #4b5563; /* bg-gray-600 */
    border-radius: 8px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #6b7280; /* bg-gray-500 */
}

/* .list-item is styled with Tailwind in JS, this is for its hover state */
.list-item:hover {
    background-color: #374151; /* hover:bg-gray-700 */
}

.panel-container {
    background-color: #1f2937; /* bg-gray-800 */
    border: 1px solid #374151; /* border-gray-700 */
    border-radius: 0.375rem; /* rounded-md */
}

.panel {
    height: 300px;
    background-color: transparent; /* Panel bg is handled by panel-container */
}

.action-btn-sm { /* For Deselect All button in widget */
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    background-color: #4b5563; /* bg-slate-600 */
    color: #e5e7eb; /* text-slate-100 */
    border-radius: 0.375rem; /* rounded-md */
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); /* shadow-sm */
    transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform; /* from Tailwind transition */
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); /* from Tailwind ease-in-out */
    transition-duration: 150ms; /* from Tailwind duration-150 */
}

.action-btn-sm:hover {
    background-color: #6b7280; /* hover:bg-slate-500 */
}

.continent-action-btn { /* For +/- buttons in continent list */
    padding: 0.1rem 0.3rem;
    font-size: 0.7rem;
    line-height: 1;
    margin-left: 4px;
    border: 1px solid #0ea5e9; /* border-sky-500 */
    border-radius: 0.25rem; /* rounded-sm */
    color: #38bdf8; /* text-sky-400 */
}

.continent-action-btn:hover {
    background-color: #0ea5e9; /* hover:bg-sky-500 */
    color: #ffffff; /* hover:text-white */
}

.search-input { /* For country search input in widget */
    padding: 0.35rem 0.6rem;
    font-size: 0.85rem;
    border-radius: 0.375rem; /* rounded-md */
    border: 1px solid #374151; /* border-gray-700 */
    background-color: #111827; /* bg-gray-900 */
    color: #e5e7eb; /* text-gray-200 */
    width: 100%;
}

.search-input::placeholder {
    color: #6b7280; /* placeholder-gray-500 */
}

.search-input:focus {
    outline: none;
    border-color: #0ea5e9; /* focus:border-sky-500 */
    box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.4); /* focus ring sky */
}