.eventos-page-container { max-width: 1100px; margin: 20px auto; padding: 20px; }
.view-toggle-buttons { display: flex; justify-content: center; gap: 10px; margin-bottom: 30px; }
.view-toggle-buttons button { padding: 10px 20px; font-size: 1.1em; font-weight: bold; border: 2px solid #555; background-color: transparent; color: #ccc; border-radius: 20px; cursor: pointer; transition: all 0.3s ease; }
.view-toggle-buttons button.active { background-color: #8A2BE2; border-color: #8A2BE2; color: #fff; }
.music-style-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 20px; }
.music-style-filters button { padding: 8px 16px; font-size: 0.9em; border: 1px solid #555; background-color: transparent; color: #ccc; border-radius: 20px; cursor: pointer; transition: all 0.3s ease; }
.music-style-filters button.active { background-color: #28a745; border-color: #28a745; color: #fff; }
#event-search-input { width: 100%; padding: 15px; font-size: 1.2em; margin-bottom: 30px; border-radius: 8px; border: 1px solid #444; background-color: #2c2c2c; color: #fff; }
#event-listing-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.loading-message, .no-results-message { color: #fff; text-align: center; width: 100%; grid-column: 1 / -1; padding: 40px; font-size: 1.2em; }
.card-content { padding: 20px; flex-grow: 1; }


.card-banner {

    height: auto; 
    overflow: hidden;
    background-color: #1a1a1a;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-banner img {
    width: 100%;
    height: auto;
    max-height: 250px; 
    object-fit: contain; 
    display: block;
    background-color: #1a1a1a;
}

.button-details { 
    cursor: pointer; 
    display: inline-block; 
    padding: 10px 20px; 
    background-color: #8A2BE2 !important; 
    color: #fff !important; 
    text-decoration: none; 
    border-radius: 5px; 
    font-weight: bold; 
    border: none; 
    transition: all 0.3s ease;
    font-family: inherit;
    min-width: 120px;
    text-align: center;
    box-sizing: border-box;
}

.button-details:hover {
    background-color: #6A1B9A !important;
    color: #fff !important;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.button-details:active,
.button-details:focus {
    background-color: #004080 !important;
    color: #fff !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.3);
}
.modal-title { font-size: 2.5em; margin: 0 0 20px 0; }
.modal-meta { list-style: none; padding: 20px 0; margin: 20px 0; border-top: 1px solid #333; border-bottom: 1px solid #333; display: flex; flex-wrap: wrap; gap: 20px 30px; }
.modal-meta li { display: flex; align-items: center; gap: 10px; font-size: 1.1em; }
.modal-meta .icon { width: 20px; height: 20px; flex-shrink: 0; }
.modal-body { line-height: 1.7; margin-top: 20px; }
.modal-map-container { margin-top: 30px; }
.modal-map-container iframe { 
    width: 100%; 
    height: 300px; 
    border: 0; 
    border-radius: 8px; 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.modal-actions { margin-top: 30px; }
.ticket-button { 
    background-color: #28a745 !important; 
    color: white !important; 
    padding: 12px 25px; 
    border-radius: 5px; 
    text-decoration: none; 
    font-weight: bold; 
    border: none; 
    cursor: pointer;
    display: inline-block;
    transition: all 0.3s ease;
    font-family: inherit;
    min-width: 140px;
    text-align: center;
    box-sizing: border-box;
}

.ticket-button:hover {
    background-color: #218838 !important;
    color: white !important;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.ticket-button:active,
.ticket-button:focus {
    background-color: #1e7e34 !important;
    color: white !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.3);
}
#details-modal-backdrop { z-index: 1010; }
.profile-socials a { 
    color: #fff; 
    font-size: 1.8em; 
    transition: all 0.3s;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.9),
        0 0 8px rgba(0, 0, 0, 0.8),
        0 0 16px rgba(0, 0, 0, 0.6);
    margin: 0 8px;
    display: inline-block;
}

.profile-socials a:hover {
    color: #8A2BE2;
    transform: scale(1.15);
    text-shadow: 
        2px 2px 6px rgba(0, 0, 0, 0.9),
        0 0 12px rgba(0, 123, 255, 0.6),
        0 0 20px rgba(0, 123, 255, 0.4);
}

.profile-header {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    margin: -30px -30px 30px -30px;
    border-radius: 12px 12px 0 0;
    min-height: 150px;
    background-color: #1a1a1a;
}

.profile-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
    border-radius: 12px 12px 0 0;
    z-index: 1;
}

.profile-photo-container {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.profile-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #8A2BE2;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
}

.profile-photo.clickable-photo {
    cursor: pointer;
}

.profile-photo.clickable-photo:hover {
    transform: scale(1.05);
    border-color: #6A1B9A;
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.5);
}

.profile-header-info {
    position: relative;
    z-index: 2;
    flex-grow: 1;
}

.profile-header-info h2 {
    margin: 0 0 10px 0;
    color: #fff;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.9),
        0 0 8px rgba(0, 0, 0, 0.8),
        0 0 16px rgba(0, 0, 0, 0.6);
    font-weight: bold;
    font-size: 2em;
}

.profile-header-info p {
    margin: 5px 0;
    color: #fff;
    text-shadow: 
        1px 1px 3px rgba(0, 0, 0, 0.9),
        0 0 6px rgba(0, 0, 0, 0.7),
        0 0 12px rgba(0, 0, 0, 0.5);
    font-weight: 600;
    font-size: 1.1em;
}

.photo-modal {
    z-index: 10000;
}

.photo-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: transparent;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.photo-modal-image {
    display: block;
    width: 100%;
    height: auto;
    max-width: 80vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
}

.photo-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    transition: background-color 0.3s ease;
}

.photo-modal-close:hover {
    background: rgba(0, 0, 0, 0.9);
}

.photo-modal-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #fff;
    padding: 20px 30px 15px;
    text-align: center;
    font-size: 1.1em;
    font-weight: 500;
}

@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        margin: -30px -30px 20px -30px;
    }
    
    .profile-header-info {
        margin-top: 15px;
    }
    
    .profile-header-info h2 {
        font-size: 1.8em;
    }
    
    .profile-header-info p {
        font-size: 1em;
    }
    
    .profile-socials a {
        font-size: 1.6em;
        margin: 0 6px;
    }
    
    .profile-photo {
        width: 100px;
        height: 100px;
    }
    
    .photo-modal-content {
        margin: 20px;
    }
    
    .photo-modal-image {
        max-width: 90vw;
        max-height: 70vh;
    }
}

.modal-banner-container {
    position: relative;
    width: 100%;
    height: auto; 
    overflow: hidden;
    margin: -30px -30px 30px -30px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-banner {
    width: 100%;
    height: auto; 
    max-width: 100%;
    max-height: none; 
    object-fit: contain; 
    object-position: center;
    border-radius: 8px;
    display: block;
}

.modal-banner.full-width {
    border-radius: 8px;
}

.modal-content-wrapper {
    position: relative;
    z-index: 2;
}

.modal-content {
    overflow-x: hidden !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    position: relative;
    padding: 30px !important;
}

.modal-padded-content {
    overflow-x: hidden;
    word-wrap: break-word;
    padding: 0 !important;
}

.modal-content.with-banner {
    padding-top: 0 !important;
}

.modal-content.with-banner .modal-padded-content {
    padding: 30px !important;
    box-sizing: border-box !important;
}
.modal-content.with-banner .modal-padded-content {
    padding: 30px !important;
    box-sizing: border-box !important;
}

.modal-content.with-banner .modal-close {
    position: absolute !important;
    top: 15px !important;
    right: 20px !important;
    background: rgba(0, 0, 0, 0.7) !important;
    color: #fff !important;
    font-size: 24px !important;
    cursor: pointer !important;
    line-height: 1 !important;
    padding: 8px 10px !important;
    z-index: 1000 !important;
    border: none !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8) !important;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.6),
        0 0 0 2px rgba(255, 255, 255, 0.1) !important;
}

.modal-content.with-banner .modal-close:hover {
    background: rgba(0, 0, 0, 0.9) !important;
    color: #fff !important;
    transform: scale(1.1) !important;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.8),
        0 0 0 2px rgba(255, 255, 255, 0.2) !important;
}


@media (max-width: 768px) {
    .modal-banner-container {
        margin: -20px -20px 20px -20px;
        border-radius: 8px;
        height: auto; 
    }
    
    .modal-banner {
        max-height: 200px; 
        border-radius: 8px;
        height: auto; 
        object-fit: contain;
    }
    
    .modal-content.with-banner .modal-close {
        top: 10px !important;
        right: 15px !important;
        width: 35px !important;
        height: 35px !important;
        font-size: 20px !important;
        padding: 6px 8px !important;
    }
}

.modal-content {
        padding: 20px !important;
    }
    
    .modal-content.with-banner .modal-padded-content {
        padding: 20px !important;
    }
    
    .modal-banner-container {
        margin: -20px -20px 20px -20px;
        border-radius: 8px;
    }

.profile-details-grid {
    display: grid;
    gap: 15px;
    margin: 20px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-detail-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    background: rgba(0, 123, 255, 0.1);
    border-radius: 8px;
    border-left: 4px solid #8A2BE2;
    transition: all 0.3s ease;
}

.profile-detail-item:hover {
    background: rgba(0, 123, 255, 0.15);
    transform: translateX(5px);
}

.detail-label {
    font-weight: bold;
    color: #00bfff;
    font-size: 0.95em;
    display: flex;
    align-items: center;
    gap: 5px;
}

.detail-value {
    color: #fff;
    font-size: 1em;
    line-height: 1.4;
    word-wrap: break-word;
}

.profile-section {
    margin: 25px 0;
    padding: 0;
}

.profile-section h3 {
    color: #fff;
    font-size: 1.4em;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #8A2BE2;
    display: flex;
    align-items: center;
    gap: 8px;
}

.profile-section h3::before {
    content: "📋";
    font-size: 1.1em;
}

@media (max-width: 768px) {
    .profile-details-grid {
        padding: 15px;
        gap: 12px;
    }
    
    .profile-detail-item {
        padding: 10px;
    }
    
    .detail-label {
        font-size: 0.9em;
    }
    
    .detail-value {
        font-size: 0.95em;
    }
    
    .profile-section h3 {
        font-size: 1.2em;
    }
}

.login-notice-map {
    background: rgba(255, 193, 7, 0.1);
    border: 2px solid #ffc107;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.login-notice-map p {
    color: #fff;
    margin: 0;
    font-size: 0.95em;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.login-notice-map a {
    color: #ffc107;
    text-decoration: underline;
    font-weight: bold;
    transition: all 0.3s ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.login-notice-map a:hover {
    color: #fff;
    background-color: #ffc107;
    padding: 2px 6px;
    border-radius: 4px;
    text-decoration: none;
}

@media (max-width: 768px) {
    .login-notice-map {
        padding: 12px;
        margin: 10px 0;
    }
    
    .login-notice-map p {
        font-size: 0.85em;
        line-height: 1.4;
    }
    
    .login-notice-map a {
        display: inline-block;
        margin: 2px;
        word-break: break-word;
        hyphens: auto;
    }
}

.login-notice {
    background: rgba(255, 193, 7, 0.1);
    border: 2px solid #ffc107;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    margin: 15px 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.login-notice p {
    color: #fff;
    margin: 0;
    font-size: 0.95em;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.login-notice a {
    color: #ffc107;
    text-decoration: underline;
    font-weight: bold;
    transition: all 0.3s ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.login-notice a:hover {
    color: #fff;
    background-color: #ffc107;
    padding: 2px 6px;
    border-radius: 4px;
    text-decoration: none;
}

.musician-card img, .venue-card img {
    width: 100%;
    height: auto; 
    max-height: 250px; 
    object-fit: contain; 
    object-position: center;
    background-color: #1a1a1a;
}

@media (max-width: 768px) {
    .login-notice {
        padding: 12px;
        margin: 10px 0;
        font-size: 0.9em;
    }
    
    .login-notice p {
        font-size: 0.85em;
        line-height: 1.4;
    }
    
    .login-notice a {
        display: inline-block;
        margin: 2px;
        word-break: break-word;
        hyphens: auto;
    }
}