.practice-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.audio-player {
    width: 100%;
    margin: 20px 0;
}

    .audio-player audio {
        width: 100%;
    }

.transcription-area {
    margin: 20px 0;
}

#errorHighlight {
    line-height: 1.6;
    font-size: 1.1em;
}

.upload-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.form-group {
    margin-bottom: 1rem;
}

.admin-dashboard {
    padding: 20px;
}

.admin-actions {
    margin-bottom: 2rem;
    display: flex;
    gap: 0.5rem;
}

.admin-actions .btn {
    flex: 1;
}

.content-list {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.table {
    margin-top: 1rem;
}

.btn-sm {
    margin: 0 2px;
}

.timer-section {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
}

#timer {
    font-size: 1.5em;
    font-weight: bold;
    color: #28a745;
}

.signup-form {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
}

.results-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.error-highlights {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
}

#comparison {
    line-height: 1.8;
    font-size: 1.1em;
}

.submissions-list {
    margin-top: 2rem;
}

.submission-detail {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.submission-info {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
}

.submission-info h4 {
    margin-bottom: 0.5rem;
    color: #495057;
}

.profile-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.profile-edit-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.profile-container .card,
.profile-edit-container .card {
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.practice-auth-prompt {
    text-align: center;
}

.practice-auth-prompt p {
    font-size: 0.9em;
    margin-top: 8px;
}

.auth-banner {
    background: linear-gradient(to right, #f8f9fa, #e9ecef);
    border: 1px solid #dee2e6;
}

.auth-banner h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.auth-banner p {
    color: #6c757d;
    font-size: 1.1em;
}

.pdf-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
}

.pdf-section h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.attempt-info {
    text-align: center;
    padding: 8px;
    background-color: #f8f9fa;
    border-radius: 4px;
    margin: 10px 0;
}

.attempt-info p {
    margin-bottom: 0;
}

.attempt-info small {
    font-size: 0.85em;
}

.attempt-info a {
    color: var(--primary-color);
    text-decoration: none;
}

.attempt-info a:hover {
    text-decoration: underline;
}

.category-section {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
}

.category-header h2 {
    margin: 0;
    color: #2c3e50;
}

.category-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.test-count {
    background: #e9ecef;
    color: #2c3e50;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 500;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.test-stat {
    font-size: 0.85em;
    padding: 4px 10px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.test-stat.attempted {
    background-color: #d4edda;
    color: #155724;
}

.test-stat.remaining {
    background-color: #fff3cd;
    color: #856404;
}

.test-stat i {
    font-size: 0.9em;
}

.add-category-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.edit-category-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.edit-category-form .form-group {
    margin-bottom: 1.5rem;
}

.dictionary-words-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    margin-top: 2rem;
}

.word-entry {
    background: white;
    padding: 15px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.dictionary-image {
    max-width: 100px;
    max-height: 100px;
    object-fit: cover;
    border-radius: 4px;
}

.is-invalid {
    border-color: #dc3545;
}

.invalid-feedback {
    color: #dc3545;
    font-size: 0.875em;
    margin-top: 0.25rem;
}

.dictionary-search {
    position: relative;
    min-width: 300px;
}

.dictionary-results {
    position: relative;
    width: 100%;
    z-index: 100;
    margin-top: 5px;
    display: block !important;
}

.dictionary-results .alert {
    margin-bottom: 0;
    font-size: 0.85rem;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 101 !important;
}

.dictionary-results .alert-info {
    background-color: #cfe2ff !important;
    color: #084298 !important;
    border-color: #b6d4fe !important;
}

.dictionary-results .alert-success {
    background-color: #d1e7dd !important;
    color: #0f5132 !important;
    border-color: #badbcc !important;
}

.dictionary-results .alert-warning {
    background-color: #fff3cd !important;
    color: #664d03 !important;
    border-color: #ffecb5 !important;
}

.dictionary-results .alert-danger {
    background-color: #f8d7da !important;
    color: #842029 !important;
    border-color: #f5c2c7 !important;
}

.dictionary-result {
    padding: 15px;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s;
}

.dictionary-result:hover {
    background-color: #f8f9fa;
}

.dictionary-result:last-child {
    border-bottom: none;
}

.word-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5px;
}

.word-header h5 {
    margin: 0;
    color: #2c3e50;
}

.dictionary-thumbnail {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.definition {
    margin: 0;
    font-size: 0.9em;
    color: #666;
}

.search-message {
    padding: 5px 10px;
    font-size: 0.9em;
    border-bottom: 1px solid #eee;
}

.search-result-image {
    margin: 15px 0;
    text-align: center;
}

.no-results {
    padding: 20px;
    text-align: center;
    color: #666;
    background: #f8f9fa;
    border-radius: 4px;
    margin: 10px;
}

.dictionary-search-section {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
}

.dictionary-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.letter-header {
    color: #2c3e50;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.words-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.word-card {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.word-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.word-image {
    margin: 1rem 0;
    text-align: center;
}

.word-image img {
    width: 300px;  
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.word-definition {
    color: #666;
    margin: 1rem 0;
}

.dictionary-content {
    display: block;
    transition: display 0.3s ease;
}

.pagination-container {
    margin: 2rem 0;
}

.pagination .page-link {
    color: #2c3e50;
    border-color: #dee2e6;
}

.pagination .page-item.active .page-link {
    background-color: #2c3e50;
    border-color: #2c3e50;
    color: white;
}

.pagination .page-link:hover {
    background-color: #e9ecef;
    border-color: #dee2e6;
    color: #2c3e50;
}

.pagination .page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    background-color: #fff;
    border-color: #dee2e6;
}

.content-list,
.submissions-list {
    margin-bottom: 3rem;
}

.content-list .pagination,
.submissions-list .pagination {
    margin-top: 1.5rem;
}

.test-number {
    display: inline-block;
    background: #2c3e50;
    color: white;
    font-size: 0.85em;
    padding: 3px 8px;
    border-radius: 12px;
    margin-right: 8px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.countdown {
    font-family: monospace;
    font-size: 2.5em;
    font-weight: bold;
    color: #2c3e50;
    background: #f8f9fa;
    padding: 15px 30px;
    border-radius: 10px;
    display: inline-block;
    margin: 10px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    min-width: 150px;
    text-align: center;
}

.countdown.warning {
    color: #dc3545;
    animation: pulse 1s infinite;
    background-color: #fff3cd;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.practice-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

.practice-header h1 {
    margin: 0;
    display: inline-block;
}

.test-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.practice-header .test-number {
    font-size: 1em;
    padding: 5px 12px;
}

.test-metadata {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.word-actions {
    display: flex;
    gap: 0.5rem;
}

.word-actions .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

.current-image {
    text-align: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 4px;
}

.text-to-speech-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.controls {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.controls button {
    min-width: 120px;
}

textarea:disabled {
    background-color: #e9ecef;
    cursor: not-allowed;
}

.submission-info .card {
    text-align: center;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.submission-info .display-4 {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
    color: #2c3e50;
}

.text-comparison .card {
    height: 100%;
    margin-bottom: 1rem;
}

.text-comparison .card-text {
    white-space: pre-wrap;
    font-family: monospace;
    line-height: 1.6;
}

.admin-nav .nav-pills .nav-link {
    color: #495057;
    margin-right: 10px;
    border-radius: 20px;
    padding: 8px 20px;
    transition: all 0.3s ease;
}

.admin-nav .nav-pills .nav-link:hover {
    background-color: #e9ecef;
    transform: translateY(-2px);
}

.admin-nav .nav-pills .nav-link.active {
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.admin-nav .nav-pills .nav-link i {
    margin-right: 5px;
}

.admin-nav .nav-pills .nav-link:hover[href*="exercise_list"] {
    background-color: rgba(0, 123, 255, 0.1);
}

.admin-nav .nav-pills .nav-link:hover[href*="view_dictionary"] {
    background-color: rgba(40, 167, 69, 0.1);
}

.admin-nav .nav-pills .nav-link:hover[href*="manage_categories"] {
    background-color: rgba(255, 193, 7, 0.1);
}

.admin-nav .nav-pills .nav-link:hover[href*="view_submissions"] {
    background-color: rgba(23, 162, 184, 0.1);
}

:root {
    --primary-color: #4a90e2;
    --secondary-color: #50c878;
    --accent-color: #ffd700;
    --warning-color: #ff9f43;
    --danger-color: #ee5253;
    --background-color: #f8f9fa;
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

body {
    background-color: var(--background-color);
    color: #2d3436;
    line-height: 1.6;
}

.navbar {
    background: linear-gradient(135deg, var(--primary-color), #2980b9) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: white !important;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color) !important;
    transform: translateY(-2px);
}

.card {
    border: none;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
    margin-bottom: 1.5rem;
}

.card:hover {
    transform: translateY(-5px);
}

.card-header {
    background: linear-gradient(135deg, var(--primary-color), #2980b9);
    color: white;
    border-radius: 10px 10px 0 0 !important;
    padding: 1rem;
}

.btn {
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #2980b9);
    border: none;
}

.btn-success {
    background: linear-gradient(135deg, var(--secondary-color), #27ae60);
    border: none;
}

.btn-warning {
    background: linear-gradient(135deg, var(--warning-color), #f39c12);
    border: none;
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger-color), #c0392b);
    border: none;
}

.form-control {
    border-radius: 8px;
    border: 1px solid #dfe6e9;
    padding: 0.75rem;
}

.form-control:focus {
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.25);
    border-color: var(--primary-color);
}

.exercise-card {
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.exercise-card .card-header {
    background-color: #f8f9fa;
    padding: 15px;
    border-bottom: 1px solid #ddd;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.badge.bg-premium {
    background-color: #ffd700;
    color: #000;
}

.exercise-card .card-body {
    padding: 20px;
}

.button-container {
    margin-top: 15px;
    text-align: right;
}

.btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

.btn-warning {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #000;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.stats-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
}

.stats-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.progress {
    height: 10px;
    border-radius: 5px;
    margin: 1rem 0;
}

.badge {
    padding: 0.5em 1em;
    border-radius: 15px;
    font-weight: 500;
}

.dictionary-results {
    background: white;
    border-radius: 10px;
    padding: 1rem;
    margin-top: 1rem;
    box-shadow: var(--card-shadow);
}

audio {
    width: 100%;
    border-radius: 25px;
    margin: 1rem 0;
}

.countdown {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
}

.countdown.warning {
    color: var(--warning-color);
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@media (max-width: 768px) {
    .card {
        margin-bottom: 1rem;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .stats-number {
        font-size: 2rem;
    }
}

.pdf-container {
    width: 100%;
    min-height: 600px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
}

.pdf-container object {
    display: block;
    border: none;
}

.exercise-box {
    background: linear-gradient(145deg, #f8faff, #f0f4f8);
    border-radius: 12px;
    padding: 1.2rem;
    height: 100%;
    border: 1px solid rgba(74, 144, 226, 0.1);
    transition: all 0.3s ease;
    max-width: 400px;
    margin: 0 auto;
}

.exercise-box:hover {
    transform: translateY(-3px);
    background: linear-gradient(145deg, #ffffff, #e8f0fe);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.15);
}

.exercise-box.beginner {
    background: linear-gradient(145deg, #f8fff9, #e8f8ef);
}

.exercise-box.intermediate {
    background: linear-gradient(145deg, #fff9f0, #fef4e8);
}

.exercise-box.advanced {
    background: linear-gradient(145deg, #fff0f0, #fee8e8);
}

.exercise-box .card-title {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.exercise-box .test-number {
    background: rgba(74, 144, 226, 0.1);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.exercise-content {
    font-size: 0.95rem;
}

.exercise-box .attempt-info {
    padding: 0.5rem;
    margin: 0.5rem 0;
}

.exercise-box .btn {
    padding: 0.4rem 1.2rem;
    font-size: 0.95rem;
}

@media (min-width: 768px) {
    .category-section .row .col-md-6 {
        padding: 0.5rem;
    }
}

@media (max-width: 767px) {
    .category-section {
        margin-bottom: 1.5rem;
    }
}

.subcategories-section {
    background: rgba(74, 144, 226, 0.05);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.subcategory-box {
    display: block;
    background: white;
    border-radius: 8px;
    padding: 1rem;
    height: 100%;
    border: 1px solid rgba(74, 144, 226, 0.1);
    transition: all 0.3s ease;
    color: inherit;
}

.subcategory-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.1);
    text-decoration: none;
    color: inherit;
}

.subcategory-box h6 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.btn-group {
    display: flex;
    gap: 0.5rem;
}

.btn-group .btn {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.table td {
    vertical-align: middle;
}

.modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-color), #2980b9);
    color: white;
    border-radius: 12px 12px 0 0;
}

.timer-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.timer {
    background-color: #f8f9fa;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    font-size: 1.2em;
    font-weight: bold;
    color: #dc3545; 
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.timer.warning {
    animation: pulse 1s infinite;
    background-color: #dc3545;
    color: white;
}

.word-image img {
    max-width: 100px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.word-details {
    flex: 1;
}

.list-group-item {
    transition: background-color 0.2s;
}

.list-group-item:hover {
    background-color: #f8f9fa;
}

.dictionary-section .list-group {
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #dee2e6;
    border-radius: 4px;
}

.dictionary-section .list-group-item {
    border-left: none;
    border-right: none;
}

.dictionary-section .list-group-item:first-child {
    border-top: none;
}

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

.category-progress {
    margin-top: 0.5rem;
    font-size: 0.85rem;
}

.progress-stats {
    margin-bottom: 0.5rem;
}

.test-stats, .dictation-stats {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.progress-stats .badge {
    margin-right: 0.25rem;
    font-size: 0.75rem;
}

.progress-bars {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.progress {
    background-color: #e9ecef;
    border-radius: 0.25rem;
    overflow: hidden;
}

.progress-bar {
    transition: width 0.6s ease;
}

.pagination {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 5px;
}

.pagination .page-item .page-link {
    color: #007bff;
    background-color: #fff;
    border: 1px solid #dee2e6;
    padding: 8px 12px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination .page-item.active .page-link {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

.pagination .page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    background-color: #fff;
    border-color: #dee2e6;
}

.pagination .page-item .page-link:hover {
    color: #0056b3;
    background-color: #e9ecef;
    border-color: #dee2e6;
    text-decoration: none;
}

.exercises-section {
    margin-bottom: 3rem;
}

.exercises-section h3 {
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
}

.exercises-section h3 small {
    margin-left: 1rem;
    font-size: 0.8em;
}

.exercises-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.exercise-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: 0.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.exercise-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.exercise-card .card-body {
    padding: 1.5rem;
}

.exercise-meta {
    margin: 1rem 0;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.exercise-meta .badge {
    padding: 0.5em 1em;
    font-weight: normal;
}

.attempts-info {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.premium-section {
    background: linear-gradient(to right, #ffecd2, #fcb69f);
    padding: 2rem;
    border-radius: 0.5rem;
    margin-top: 3rem;
}

.premium-section .card {
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.badge.bg-warning.text-dark {
    margin-left: 5px;
    font-size: 0.8em;
    padding: 4px 6px;
    vertical-align: middle;
}

.badge .fa-crown {
    margin-right: 3px;
    color: #FFD700; 
}

.nav-item .dropdown-toggle {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
}

.dropdown-toggle .badge {
    margin: 0 2px;
    white-space: nowrap;
}
