/**
 * Blask Widget - Frontend Styles
 */

.blask-widget-container {
    margin: 20px 0;
}

.blask-widget-selector {
    margin-bottom: 20px;
}

.blask-widget-selector label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.blask-country-select {
    width: 100%;
    max-width: 400px;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.blask-country-select:hover {
    border-color: #999;
}

.blask-country-select:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 1px #0073aa;
}

.blask-widget-wrapper {
    min-height: 100px;
}

.blask-widget-placeholder {
    padding: 20px;
    text-align: center;
    color: #666;
    background: #f5f5f5;
    border: 2px dashed #ddd;
    border-radius: 4px;
    margin: 0;
}

/* Ensure the Blask widget fits nicely */
.blask-widget-wrapper > div {
    max-width: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .blask-country-select {
        max-width: 100%;
    }
}

/* Dark theme support */

.dark-theme .blask-widget-selector label {
    color: #e0e0e0;
}

.dark-theme .blask-country-select {
    background-color: #2d2d2d;
    border-color: #444;
    color: #e0e0e0;
}

.dark-theme .blask-widget-placeholder {
    background: #2d2d2d;
    border-color: #444;
    color: #999;
}
