/**
 * MyLiveShopping - Frontend CSS
 */

/* ========================================
   VARIABLES
======================================== */
:root {
    --mls-primary: #667eea;
    --mls-secondary: #764ba2;
    --mls-wine: #a93442;
    --mls-success: #28a745;
    --mls-danger: #dc3545;
    --mls-warning: #ffc107;
    --mls-info: #17a2b8;
    --mls-dark: #333333;
    --mls-light: #f8f9fa;
    --mls-border: #dee2e6;
    --mls-shadow: 0 2px 8px rgba(0,0,0,0.1);
    --mls-radius: 12px;
}

/* ========================================
   HEADER CUSTOM MYLIVECONNECT
======================================== */
.mls-custom-header {
    background: linear-gradient(135deg, #a93442 0%, #8b2a36 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.mls-header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.mls-header-logo img {
    height: 45px;
    width: auto;
}

.mls-header-nav {
    display: flex;
    gap: 10px;
    flex: 1;
    justify-content: center;
}

.mls-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 20px;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    font-size: 14px;
    font-weight: 500;
}

.mls-nav-item:hover,
.mls-nav-item.active {
    background: rgba(255, 255, 255, 0.15);
}

.mls-nav-item svg {
    opacity: 0.9;
}

.mls-header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.mls-header-icon,
.mls-header-menu {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.mls-header-icon:hover,
.mls-header-menu:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Responsive Header */
@media (max-width: 768px) {
    .mls-header-container {
        height: 60px;
    }
    
    .mls-header-logo img {
        height: 35px;
    }
    
    .mls-nav-item span {
        display: none;
    }
    
    .mls-nav-item {
        padding: 8px 12px;
    }
}

/* ========================================
   RESET & BASE
======================================== */
.mls-map-container,
.mls-dashboard,
.mls-profile-page {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--mls-dark);
}

.mls-map-container {
    padding-top: 20px;
}

.mls-map-container * {
    box-sizing: border-box;
}

/* ========================================
   FILTRES
======================================== */
.mls-filters {
    background: white;
    padding: 20px;
    border-radius: var(--mls-radius);
    box-shadow: var(--mls-shadow);
    margin-bottom: 20px;
}

.mls-filters-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.mls-filter-item {
    flex: 1;
    min-width: 200px;
}

.mls-search-input,
.mls-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--mls-border);
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
}

.mls-search-input:focus,
.mls-select:focus {
    outline: none;
    border-color: var(--mls-wine);
    box-shadow: 0 0 0 3px rgba(169, 52, 66, 0.1);
}

.mls-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 500;
}

.mls-checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.mls-btn-secondary {
    padding: 12px 24px;
    background: var(--mls-light);
    border: 2px solid var(--mls-border);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.mls-btn-secondary:hover {
    background: var(--mls-wine);
    color: white;
    border-color: var(--mls-wine);
}

/* ========================================
   CARTE
======================================== */
#mls-map {
    border: 3px solid var(--mls-border);
}

.gm-style .gm-style-iw-c {
    border-radius: 12px !important;
    padding: 0 !important;
}

.gm-style .gm-style-iw-d {
    overflow: hidden !important;
}

.mls-infowindow {
    padding: 15px;
    max-width: 280px;
}

.mls-info-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.mls-info-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.mls-infowindow h3 {
    margin: 0 0 5px 0;
    font-size: 16px;
}

.mls-info-category {
    margin: 0;
    font-size: 13px;
    color: #666;
}

.mls-info-location {
    margin: 10px 0;
    font-size: 14px;
    color: #666;
}

.mls-live-badge {
    display: inline-block;
    padding: 6px 12px;
    background: var(--mls-danger);
    color: white;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    margin: 10px 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* ========================================
   LISTE DES BOUTIQUES
======================================== */
.mls-shops-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.mls-shop-card {
    background: white;
    border-radius: var(--mls-radius);
    overflow: hidden;
    box-shadow: var(--mls-shadow);
    transition: all 0.3s;
    border: 3px solid transparent;
}

.mls-shop-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.mls-shop-card.mls-shop-live {
    border-color: var(--mls-danger);
}

.mls-shop-logo {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    background-color: var(--mls-light);
}

.mls-shop-logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
}

.mls-shop-content {
    padding: 20px;
}

.mls-shop-content h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
}

.mls-shop-category {
    margin: 0 0 8px 0;
    font-size: 14px;
    color: #666;
}

.mls-shop-location {
    margin: 0 0 15px 0;
    font-size: 14px;
    color: #999;
}

.mls-btn-view {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--mls-wine) 0%, #8b2a36 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.mls-btn-view:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(169, 52, 66, 0.4);
}

.mls-btn-primary {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--mls-wine) 0%, #8b2a36 100%);
    color: white !important;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.mls-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(169, 52, 66, 0.4);
}

/* ========================================
   MODAL IFRAME LIVE
======================================== */
.mls-live-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 999999;
    animation: fadeIn 0.3s ease;
}

.mls-live-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.mls-modal-content {
    position: relative;
    width: 95%;
    max-width: 1200px;
    height: 90vh;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from { 
        transform: translateY(50px);
        opacity: 0;
    }
    to { 
        transform: translateY(0);
        opacity: 1;
    }
}

.mls-modal-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: white;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    padding: 0 20px;
    z-index: 10;
}

.mls-modal-url {
    flex: 1;
    background: #f5f5f5;
    padding: 10px 16px;
    border-radius: 25px;
    font-size: 14px;
    color: #666;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin: 0 15px;
}

.mls-modal-close {
    width: 40px;
    height: 40px;
    background: #f5f5f5;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #666;
    transition: all 0.3s;
}

.mls-modal-close:hover {
    background: #e0e0e0;
    transform: rotate(90deg);
}

.mls-modal-iframe {
    width: 100%;
    height: 100%;
    border: none;
    padding-top: 60px;
    box-sizing: border-box;
}

/* Badge LIVE dans le modal */
.mls-modal-live-badge {
    background: #dc3545;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mls-modal-live-badge::before {
    content: '●';
    animation: pulse 2s infinite;
}

/* ========================================
   LOADING
======================================== */
.mls-loading {
    text-align: center;
    padding: 60px 20px;
}

.mls-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--mls-light);
    border-top-color: var(--mls-wine);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.mls-no-results {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 18px;
}

/* ========================================
   PAGE PROFIL
======================================== */
.mls-profile-page {
    background: #f5f7fa;
    min-height: 100vh;
}

.mls-profile-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.mls-back-btn {
    display: inline-block;
    padding: 10px 20px;
    background: white;
    border-radius: 8px;
    text-decoration: none;
    color: var(--mls-dark);
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: var(--mls-shadow);
}

.mls-profile-header {
    margin-bottom: 30px;
}

.mls-profile-hero {
    background: white;
    border-radius: var(--mls-radius);
    padding: 40px;
    box-shadow: var(--mls-shadow);
    display: flex;
    align-items: center;
    gap: 30px;
}

.mls-profile-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--mls-wine);
}

.mls-profile-logo-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--mls-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
}

.mls-profile-info h1 {
    margin: 0 0 10px 0;
    font-size: 32px;
}

.mls-profile-category,
.mls-profile-location {
    margin: 5px 0;
    color: #666;
}

.mls-section {
    background: white;
    border-radius: var(--mls-radius);
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: var(--mls-shadow);
}

.mls-section h2 {
    margin-top: 0;
}

.mls-lives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.mls-live-card {
    background: linear-gradient(135deg, var(--mls-wine) 0%, #8b2a36 100%);
    color: white;
    border-radius: 12px;
    padding: 25px;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s;
}

.mls-live-card:hover {
    transform: translateY(-5px);
}

.mls-live-card.active {
    animation: glow 2s infinite;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(220, 53, 69, 0.5); }
    50% { box-shadow: 0 0 40px rgba(220, 53, 69, 0.8); }
}

.mls-live-badge-top {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--mls-danger);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.mls-live-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.mls-live-card h3 {
    margin: 0 0 15px 0;
    font-size: 20px;
}

.mls-live-time {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 20px;
}

.mls-btn-watch {
    display: inline-block;
    padding: 12px 24px;
    background: white;
    color: var(--mls-wine);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.mls-btn-watch:hover {
    transform: scale(1.05);
}

.mls-lives-list {
    margin-top: 20px;
}

.mls-live-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--mls-light);
    border-radius: 8px;
    margin-bottom: 15px;
}

.mls-live-icon-small {
    font-size: 30px;
}

.mls-live-item-content {
    flex: 1;
}

.mls-live-item h4 {
    margin: 0 0 5px 0;
}

.mls-live-date {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.mls-btn-replay {
    padding: 8px 16px;
    background: var(--mls-wine);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
}

.mls-empty-state {
    text-align: center;
    padding: 60px 20px;
}

.mls-empty-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

/* ========================================
   DASHBOARD DIFFUSEUR
======================================== */
.mls-dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.mls-dashboard-header {
    margin-bottom: 30px;
}

.mls-dashboard-header h1 {
    margin: 0 0 10px 0;
    font-size: 32px;
}

.mls-dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.mls-stat-box {
    background: white;
    border-radius: var(--mls-radius);
    padding: 25px;
    text-align: center;
    box-shadow: var(--mls-shadow);
}

.mls-stat-number {
    font-size: 36px;
    font-weight: bold;
    color: var(--mls-wine);
    margin-bottom: 10px;
}

.mls-stat-label {
    font-size: 14px;
    color: #666;
}

.mls-card {
    background: white;
    border-radius: var(--mls-radius);
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: var(--mls-shadow);
}

.mls-card h2 {
    margin-top: 0;
    margin-bottom: 20px;
}

.mls-form-group {
    margin-bottom: 20px;
}

.mls-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--mls-dark);
}

.mls-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--mls-border);
    border-radius: 8px;
    font-size: 15px;
}

.mls-input:focus {
    outline: none;
    border-color: var(--mls-wine);
}

.mls-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.mls-notice {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
}

.mls-notice.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.mls-notice.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.mls-notice.warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.mls-lives-table {
    margin-top: 20px;
}

.mls-live-row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--mls-light);
    border-radius: 8px;
    margin-bottom: 15px;
}

.mls-live-row.active {
    background: #fff3cd;
    border: 2px solid var(--mls-danger);
}

.mls-live-info {
    flex: 1;
}

.mls-live-info h3,
.mls-live-info h4 {
    margin: 0 0 5px 0;
}

.mls-live-info p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.mls-live-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mls-btn-small {
    padding: 8px 16px;
    background: var(--mls-wine);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
}

.mls-status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.mls-status-badge.expired {
    background: #e9ecef;
    color: #6c757d;
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 768px) {
    .mls-filters-row {
        flex-direction: column;
    }
    
    .mls-filter-item {
        width: 100%;
    }
    
    .mls-shops-grid {
        grid-template-columns: 1fr;
    }
    
    .mls-profile-hero {
        flex-direction: column;
        text-align: center;
    }
    
    .mls-dashboard-stats,
    .mls-form-row {
        grid-template-columns: 1fr;
    }
    
    .mls-live-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .mls-modal-content {
        width: 100%;
        height: 100vh;
        border-radius: 0;
    }
    
    .mls-modal-header {
        height: 50px;
        padding: 0 10px;
    }
    
    .mls-modal-url {
        font-size: 12px;
        margin: 0 10px;
    }
    
    .mls-modal-close {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }

    /* ========================================
   VIGNETTES DIFFUSEURS COMPLÈTES
======================================== */
.mls-diffuser-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s;
    border: 3px solid transparent;
    margin-bottom: 20px;
}

.mls-diffuser-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.mls-diffuser-card.mls-shop-live {
    border-color: #dc3545;
    box-shadow: 0 4px 20px rgba(220, 53, 69, 0.3);
}

.mls-diffuser-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.mls-diffuser-logo {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.mls-diffuser-logo-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    border: 3px solid #dee2e6;
}

.mls-diffuser-info {
    flex: 1;
}

.mls-diffuser-info h3 {
    margin: 0 0 8px 0;
    font-size: 20px;
    color: #333;
}

.mls-diffuser-category {
    margin: 0 0 5px 0;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.mls-diffuser-location {
    margin: 0;
    font-size: 14px;
    color: #999;
}

.mls-diffuser-live-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #dc3545;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    animation: pulse 2s infinite;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.4);
}

.mls-diffuser-source {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: white;
    border-top: 1px solid #e9ecef;
}

.mls-source-icon {
    font-size: 24px;
    line-height: 1;
}

.mls-source-name {
    font-size: 14px;
    color: #666;
    font-weight: 600;
}

.mls-source-url {
    margin-left: auto;
    padding: 6px 14px;
    background: linear-gradient(135deg, #a93442 0%, #8b2a36 100%);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s;
}

.mls-source-url:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(169, 52, 66, 0.3);
}

.mls-diffuser-lives {
    padding: 0 20px 20px 20px;
}

.mls-toggle-history {
    width: 100%;
    padding: 12px 16px;
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s;
}

.mls-toggle-history:hover {
    background: #e9ecef;
    border-color: #a93442;
}

.mls-toggle-arrow {
    transition: transform 0.3s;
}

.mls-toggle-history.active .mls-toggle-arrow {
    transform: rotate(180deg);
}

.mls-lives-history {
    margin-top: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.mls-live-history-item {
    padding: 12px;
    background: white;
    border-radius: 6px;
    margin-bottom: 10px;
    border-left: 4px solid #dee2e6;
}

.mls-live-history-item.active {
    border-left-color: #dc3545;
    background: #fff5f5;
}

.mls-live-date {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 13px;
    color: #666;
}

.mls-live-status-active {
    background: #dc3545;
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
}

.mls-live-status-ended {
    background: #6c757d;
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
}

.mls-live-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.mls-btn-watch-small {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, #a93442 0%, #8b2a36 100%);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s;
}

.mls-btn-watch-small:hover {
    transform: scale(1.05);
}

/* Empty state */
.mls-empty-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.mls-no-results {
    text-align: center;
    padding: 60px 20px;
}

.mls-no-results h3 {
    margin: 0 0 10px 0;
    font-size: 24px;
    color: #333;
}

.mls-no-results p {
    margin: 0;
    font-size: 16px;
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .mls-diffuser-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .mls-diffuser-live-badge {
        position: static;
        margin-top: 10px;
    }
    
    .mls-diffuser-source {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .mls-source-url {
        margin-left: 0;
        margin-top: 10px;
    }
}
}