/* Reset i base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #2c2c2c;
    background: #faf9f7;
    min-height: 100vh;
}

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

/* Header elegant */
.header {
    text-align: center;
    color: white;
    margin-bottom: 60px;
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.1) 100%), url('../images/sortidasol.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 6px;
    position: relative;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    border-radius: 6px;
    z-index: 1;
}

.header > * {
    position: relative;
    z-index: 2;
}

.header h1 {
    font-size: 2.8rem;
    margin-bottom: 16px;
    font-weight: 300;
    letter-spacing: -0.5px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.header p {
    font-size: 1.1rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto 32px;
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.header-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 0.95rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.stat-item i {
    color: #f4d03f;
    font-size: 1.1rem;
}

/* Language selector elegant */
.language-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.dropdown {
    position: relative;
}

.lang-button {
    background: white;
    border: 1px solid #e8e5e1;
    padding: 10px 16px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #4a4a4a;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.lang-button:hover {
    border-color: #d0c7b8;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e8e5e1;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    min-width: 200px;
    display: none;
    margin-top: 4px;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    text-decoration: none;
    color: #4a4a4a;
    border-bottom: 1px solid #f5f3f0;
    transition: background 0.2s ease;
}

.lang-option:hover {
    background: #f8f7f4;
}

.lang-option:last-child {
    border-bottom: none;
}

/* Cards modernes */
.card, .card-validate {
    background: white;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    overflow: hidden;
    margin-bottom: 40px;
    border: 1px solid #f0ede8;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.card-header {
    background: linear-gradient(135deg, #8d7053 0%, #a67c52 100%);
    color: white;
    padding: 24px 32px;
    font-weight: 500;
    font-size: 1.1rem;
    letter-spacing: 0.3px;
}

.card-body {
    padding: 32px;
}

/* Upload button elegant */
.upload-button {
    background: linear-gradient(135deg, #8d7053 0%, #a67c52 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    margin: 40px auto;
    display: block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(141, 112, 83, 0.3);
    letter-spacing: 0.3px;
}

.upload-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(141, 112, 83, 0.4);
}

/* Forms elegants */
.form-group {
/*    margin-bottom: 24px;*/
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #3a3a3a;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e8e5e1;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #fbfaf8;
    color: #2c2c2c;
}

.form-control:focus {
    outline: none;
    border-color: #8d7053;
    background: white;
    box-shadow: 0 0 0 3px rgba(141, 112, 83, 0.1);
}

.search-filters {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr auto;
    gap: 16px;
    margin-bottom: 24px;
    align-items: end;
}

.clear-button-container {
    display: flex;
    align-items: end;
}

/* Buttons neutres */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    letter-spacing: 0.2px;
}

.btn-primary {
    background: linear-gradient(135deg, #8d7053 0%, #a67c52 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(141, 112, 83, 0.3);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(141, 112, 83, 0.4);
}

.btn-secondary {
    background: #e8e5e1;
    color: #5a5a5a;
}

.btn-secondary:hover {
    background: #ddd7d0;
    transform: translateY(-1px);
}

/* Gallery moderna - Masonry Layout */
.gallery-container {
    position: relative;
}

.gallery-paginated {
    column-count: 5;
    column-gap: 12px;
    margin: 32px 0;
}

.gallery-item {
    background: white;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 3px 16px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #f5f3f0;
    break-inside: avoid;
    margin-bottom: 12px;
    display: inline-block;
    width: 100%;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.gallery-item img {
    width: 100%;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.02);
}

.gallery-item-info {
    padding: 16px 20px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.gallery-item-title {
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    font-size: 1rem;
}

.gallery-item-details {
    color: #6b6b6b;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.gallery-item-details span {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.85rem;
}

.gallery-item-details i {
    font-size: 0.8rem;
    color: #8d7053;
}

/* Pagination elegant */
.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin: 40px 0;
}

.pagination-btn {
    background: white;
    color: #5a5a5a;
    border: 1px solid #e8e5e1;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.pagination-btn:hover:not(:disabled) {
    background: #f8f7f4;
    border-color: #d0c7b8;
    transform: translateY(-1px);
}

.pagination-btn:disabled {
    background: #f5f3f0;
    color: #b0b0b0;
    cursor: not-allowed;
    border-color: #e8e5e1;
}

.pagination-info {
    font-size: 0.9rem;
    color: #6b6b6b;
    margin: 0 20px;
    font-weight: 500;
}

/* Popup elegant */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(42, 42, 42, 0.7);
    z-index: 1000;
    backdrop-filter: blur(8px);
}

.popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 8px;
    padding: 0;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.popup-header {
    background: linear-gradient(135deg, #8d7053 0%, #a67c52 100%);
    color: white;
    padding: 24px 32px;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popup-header h2 {
    font-weight: 500;
    font-size: 1.2rem;
    letter-spacing: 0.3px;
}

.popup-body {
    padding: 32px;
}

.close-popup {
    background: none;
    border: none;
    color: white;
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.close-popup:hover {
    background: rgba(255,255,255,0.1);
}

/* File input elegant */
.file-input {
    position: relative;
    overflow: hidden;
    display: inline-block;
    width: 100%;
}

.file-input input[type=file] {
    position: absolute;
    left: -9999px;
}

.file-input label {
    padding: 24px 20px;
    background: #f8f7f4;
    border: 2px dashed #d0c7b8;
    border-radius: 6px;
    cursor: pointer;
    display: block;
    text-align: center;
    transition: all 0.3s ease;
    color: #5a5a5a;
}

.file-input label:hover {
    background: #f2f0ec;
    border-color: #8d7053;
}

.file-input.has-file label {
    background: #e8f5e8;
    border-color: #6b8e23;
    color: #2d5016;
}

/* Loading elegant */
.loading {
    text-align: center;
    padding: 60px;
    color: #6b6b6b;
}

.spinner {
    border: 3px solid #f0ede8;
    border-top: 3px solid #8d7053;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Alerts neutres */
.alert {
    padding: 16px 20px;
    border-radius: 6px;
    margin-bottom: 24px;
    border: 1px solid;
    font-size: 0.95rem;
}

.alert-success {
    background: #f0f8f0;
    color: #2d5016;
    border-color: #c3e6c3;
}

.alert-error {
    background: #fdf2f2;
    color: #8b2635;
    border-color: #f5c6cb;
}

/* Footer elegant */
footer {
    background: linear-gradient(135deg, #2c2c2c 0%, #3a3a3a 100%);
    color: #d0d0d0;
    text-align: center;
    padding: 40px 20px;
    margin-top: 60px;
    border-radius: 6px 6px 0 0;
}

footer p {
    margin-bottom: 8px;
}

footer .heart {
    color: #d4698b;
}

/* Separador elegant */
hr {
    margin: 40px 0;
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e8e5e1, transparent);
}

/* Tags elegants */
.tag {
    display: inline-block;
    background: #f0ede8;
    color: #5a5a5a;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-right: 6px;
    margin-bottom: 6px;
    transition: background 0.2s ease;
}

.tag:hover {
    background: #e8e5e1;
}

/* Lightbox elegant - VERSIÓ ACTUALITZADA */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    cursor: pointer;
    backdrop-filter: blur(8px);
}

.lightbox img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
    border-radius: 6px;
    box-shadow: 0 0 40px rgba(0,0,0,0.5);
    /* AFEGIR AQUESTES DUES LÍNIES: */
    transition: opacity 0.2s ease-out, transform 0.2s ease-out;
    opacity: 0;
}

.lightbox.active {
    display: block;
}

/* AFEGIR AQUESTA REGLA NOVA: */
.lightbox img[src=""] {
    opacity: 0 !important;
}
/* Avís d'aprovació */
.approval-notice {
    background: linear-gradient(135deg, #f8f7f4 0%, #f2f0ec 100%);
    border: 1px solid #e8e5e1;
    border-radius: 6px;
    padding: 20px;
    margin: 24px 0;
}

.approval-notice h4 {
    margin: 0 0 8px 0;
    color: #8d7053;
    font-size: 0.95rem;
    font-weight: 600;
}

.approval-notice p {
    margin: 0;
    font-size: 0.9rem;
    color: #5a5a5a;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 1200px) {
    .gallery-paginated {
        column-count: 4;
    }
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 2.2rem;
    }
    
    .header-stats {
        gap: 20px;
    }
    
    .search-filters {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .gallery-paginated {
        column-count: 3;
        column-gap: 8px;
    }
    
    .gallery-item {
        margin-bottom: 8px;
    }
    
    .container {
        padding: 16px;
    }
    
    .card-body,
    .popup-body {
        padding: 24px;
    }
    
    .pagination-controls {
        gap: 12px;
    }
    
    .pagination-info {
        margin: 0 10px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 40px 20px;
    }
    
    .gallery-paginated {
        column-count: 2;
        column-gap: 6px;
    }
    
    .gallery-item {
        margin-bottom: 6px;
    }
    
    .gallery-item-info {
        padding: 12px 16px;
    }
    
    .header-stats {
        flex-direction: column;
        gap: 12px;
    }
    
    .upload-button {
        padding: 14px 24px;
        font-size: 0.9rem;
    }
    
    .popup-content {
        width: 95%;
        margin: 10px;
    }
    
    .popup-header {
        padding: 20px 24px;
    }
    
    .popup-body {
        padding: 20px;
    }
}

/* Flag selector */
.flag-selector {
    position: relative;
}

.flag-dropdown {
    position: relative;
}

.flag-dropdown-btn {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e8e5e1;
    border-radius: 6px;
    background: #fbfaf8;
    color: #2c2c2c;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.flag-dropdown-btn:hover {
    border-color: #8d7053;
    background: white;
}

.flag-dropdown-btn:focus {
    outline: none;
    border-color: #8d7053;
    background: white;
    box-shadow: 0 0 0 3px rgba(141, 112, 83, 0.1);
}

.selected-flag {
    display: flex;
    align-items: center;
    gap: 8px;
}

.flag-icon {
    font-size: 1.2rem;
    min-width: 20px;
}

.flag-dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e8e5e1;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 1000;
    max-height: 400px;
    overflow: hidden;
    margin-top: 4px;
    display: none;
}

.flag-dropdown-content.show {
    display: block;
}

.flag-search-container {
    position: relative;
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #f0ede8;
    background: #f8f7f4;
}

.flag-search-container i {
    color: #8d7053;
    margin-right: 8px;
}

.flag-search {
    flex: 1;
    border: none;
    background: none;
    font-size: 0.9rem;
    outline: none;
    color: #2c2c2c;
}

.flag-search::placeholder {
    color: #999;
}

.flag-section {
    border-bottom: 1px solid #f0ede8;
}

.flag-section:last-child {
    border-bottom: none;
}

.flag-section-title {
    padding: 8px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #8d7053;
    background: #f8f7f4;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.flag-options {
    max-height: 200px;
    overflow-y: auto;
}

.flag-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 4px;
    padding: 12px;
}

.flag-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.2s ease;
    font-size: 0.9rem;
}

.flag-option:hover {
    background: #f8f7f4;
}

.flag-option-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 4px;
    border-radius: 4px;
    text-align: center;
}

.flag-option-grid:hover {
    background: #f0ede8;
}

.flag-code {
    font-size: 0.7rem;
    color: #666;
    font-weight: 500;
}

.flag-text small {
    color: #999;
    font-size: 0.8rem;
}

.flag-option.hidden {
    display: none;
}

/* Scrollbar styling for flag options */
.flag-options::-webkit-scrollbar {
    width: 6px;
}

.flag-options::-webkit-scrollbar-track {
    background: #f0ede8;
}

.flag-options::-webkit-scrollbar-thumb {
    background: #d0c7b8;
    border-radius: 3px;
}

.flag-options::-webkit-scrollbar-thumb:hover {
    background: #8d7053;
}

/* Responsive */
@media (max-width: 768px) {
    .flag-dropdown-content {
        max-height: 300px;
    }
    
    .flag-options-grid {
        grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
    }
    
    .flag-options {
        max-height: 150px;
    }
}

/* Estils per a la bandera del vaixell a la galeria */
.gallery-item-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.gallery-info h3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.boat-flag {
    font-size: 1.2rem;
    flex-shrink: 0;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
}

.ship-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Overlay de càrrega per pujada d'imatges */
.upload-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    transition: opacity 0.3s ease-out;
}

.upload-overlay-content {
    text-align: center;
}

.upload-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: upload-spin 1s ease-in-out infinite;
    margin: 0 auto 25px;
}

.upload-overlay-title {
    margin: 0 0 10px 0;
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.upload-overlay-text {
    margin: 0;
    font-size: 16px;
    opacity: 0.8;
    font-weight: 300;
}

.upload-dots {
    margin-top: 20px;
    font-size: 18px;
    letter-spacing: 2px;
}

.upload-dot-1 {
    animation: upload-dot1 1.4s infinite ease-in-out both;
}

.upload-dot-2 {
    animation: upload-dot2 1.4s infinite ease-in-out both;
    animation-delay: 0.16s;
}

.upload-dot-3 {
    animation: upload-dot3 1.4s infinite ease-in-out both;
    animation-delay: 0.32s;
}

/* Animacions */
@keyframes upload-spin {
    to { 
        transform: rotate(360deg); 
    }
}

@keyframes upload-dot1, upload-dot2, upload-dot3 {
    0%, 80%, 100% { 
        opacity: 0;
        transform: scale(0.8);
    }
    40% { 
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Variant amb efecte de pulsació per al spinner */
.upload-spinner-pulse {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: upload-spin 1s ease-in-out infinite, upload-pulse 2s ease-in-out infinite;
    margin: 0 auto 25px;
}

@keyframes upload-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .upload-overlay-title {
        font-size: 20px;
    }
    
    .upload-overlay-text {
        font-size: 14px;
        padding: 0 20px;
    }
    
    .upload-spinner,
    .upload-spinner-pulse {
        width: 50px;
        height: 50px;
        margin-bottom: 20px;
    }
}

/* Estils per al selector de ciutats */
.city-selector {
    position: relative;
    width: 100%;
}

.city-dropdown-btn {
    width: 100%;
    padding: 12px 16px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.city-dropdown-btn:hover {
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0,123,255,0.25);
}

.selected-city {
    display: flex;
    align-items: center;
    gap: 8px;
}

.city-text {
    color: #495057;
}

.city-dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    max-height: 300px;
    overflow: hidden;
    display: none;
}

.city-search-container {
    position: relative;
    padding: 12px;
    border-bottom: 1px solid #eee;
}

.city-search-container i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.city-search {
    width: 100%;
    padding: 8px 12px 8px 32px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.city-options {
    max-height: 240px;
    overflow-y: auto;
}

.city-country-group {
    border-bottom: 1px solid #f0f0f0;
}

.city-country-header {
    padding: 8px 16px;
    background: #f8f9fa;
    font-weight: bold;
    font-size: 13px;
    color: #495057;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 10;
}

.city-option {
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f5f5f5;
}

.city-option:hover {
    background-color: #f8f9fa;
}

.city-option:last-child {
    border-bottom: none;
}

.city-flag {
    font-size: 16px;
    min-width: 20px;
}

.city-info {
    flex: 1;
}

.city-main {
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.city-region {
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}

/* Estat seleccionat */
.city-option.selected {
    background-color: #007bff;
    color: white;
}

.city-option.selected .city-main,
.city-option.selected .city-region {
    color: white;
}

/* Amagar grups buits */
.city-country-group.hidden {
    display: none;
}




/* Amagar elements fins que hi hagi prou contingut 
.header-stats,
.card {
    display: none !important;
}

*/
