/* This file is part of Moodle - http://moodle.org/
 *
 * Moodle is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * Moodle is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
 */

/**
 * Styles for Navigatr Badges plugin.
 *
 * @package    local_navigatr
 * @copyright  2025 Navigatr
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */

.current-mapping .mapping-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.current-mapping .badge-image-container {
    flex-shrink: 0;
}

.current-mapping .badge-image-container img {
    max-width: 200px;
    max-height: 200px;
    border-radius: 8px;
}

.current-mapping .mapping-details {
    flex: 1;
}

.current-mapping .mapping-details p {
    margin-bottom: 0.5rem;
}

.current-mapping .mapping-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .current-mapping .mapping-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .current-mapping .mapping-actions {
        flex-direction: column;
    }
}
