/* General styles */
body {
    background-color: #f8f9fa;
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Config card styles */
.config-card {
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.country-tag {
    display: inline-block;
    padding: 5px 10px;
    margin: 2px;
    background: #f0f0f0;
    border-radius: 4px;
}

.country-tag .remove {
    margin-left: 5px;
    cursor: pointer;
    color: red;
}

.json-input {
    font-family: monospace;
}

/* Config header and content */
.config-header {
    cursor: pointer;
    user-select: none;
    padding: 10px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.config-header:hover {
    background-color: #f8f9fa;
}

.config-content {
    overflow: hidden;
    transition: all 0.3s ease-out;
    opacity: 1;
    visibility: visible;
}

.config-content.collapsed {
    opacity: 0;
    visibility: hidden;
    height: 0;
    margin: 0;
    padding: 0;
}

.collapse-icon {
    transition: transform 0.3s ease;
    display: inline-block;
    margin-right: 10px;
}

.collapse-icon.collapsed {
    transform: rotate(-90deg);
}

.config-summary {
    color: #6c757d;
    font-size: 0.9em;
    margin-left: 20px;
}

.config-footer {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.configs-section {
    margin-top: 2rem;
}

.configs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

/* Toast notifications */
.toast {
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.toast-body {
    padding: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .configs-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .configs-header button {
        width: 100%;
    }
    
    .config-header {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .config-summary {
        margin-left: 0;
        margin-top: 0.5rem;
    }
}

/* Settings styles */
.card {
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid #ddd;
}

.card-title {
    color: #333;
    margin-bottom: 1.5rem;
}

.form-text {
    color: #6c757d;
    font-size: 0.875rem;
    margin-top: 0.5rem;
} 