/**
 * Estilos modernizados para o Painel do Usuário - ObaClick Momentos
 * Redesign com foco em experiência interativa e estética visual melhorada
 */

:root {
    --primary-color: #ff3846;
    --secondary-color: #540045;
    --light-color: #ffffff;
    --dark-color: #333333;
    --gray-color: #f9f9f9;
    --border-color: #e0e0e0;
    --error-color: #d32f2f;
    --success-color: #388e3c;
    --gradient-bg: linear-gradient(135deg, #540045 0%, #ff3846 100%);
    --gradient-hover: linear-gradient(135deg, #ff3846 0%, #540045 100%);
    --shadow: 0 10px 25px rgba(84, 0, 69, 0.15);
    --shadow-hover: 0 15px 30px rgba(84, 0, 69, 0.25);
    --input-bg: #ffffff;
    --text-light: #888888;
    --text-muted: #999999;
    --btn-color: #464a58;
    --btn-hover: #383b46;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --card-radius: 12px;
    --btn-radius: 50px;
}

/* Container principal do painel */
.obaclick-dashboard-container {
    font-family: 'Poppins', sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    background-color: var(--light-color);
    padding: 0;
    box-shadow: var(--shadow);
    color: var(--dark-color);
    position: relative;
    border: none !important;
    outline: none !important;
}

/* Cabeçalho do painel - Versão compacta */
.dashboard-header {
    padding: 15px 20px;
    background: var(--gradient-bg);
    color: var(--light-color);
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 15px 15px;
    margin: 0 15px 0 15px;
    box-shadow: 0 8px 20px rgba(84, 0, 69, 0.2);
}

.dashboard-header::before,
.dashboard-header::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 0;
}

.dashboard-header::before {
    top: -100px;
    right: -100px;
}

.dashboard-header::after {
    bottom: -100px;
    left: -100px;
}

.profile-image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.profile-image {
    width: 60px;
    height: 60px;
    border-radius: 30px;
    background-size: cover;
    background-position: center;
    background-color: var(--light-color);
    position: relative;
    border: 3px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.edit-profile-image {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 2px solid var(--light-color);
    transition: var(--transition);
    font-size: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.edit-profile-image:hover {
    background-color: var(--secondary-color);
    transform: scale(1.1);
}

.profile-image-container h2 {
    margin: 0;
    padding: 0;
    font-size: 20px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.5px;
}

/* Menu de navegação - Com contadores */
.dashboard-nav {
    background-color: transparent;
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0 15px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #540045 0%, #ff3846 100%);
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    border: none;
    margin: 0;
    box-shadow: none;
    position: relative;
}

/* Adicionar pseudo-elemento para garantir cobertura total */
.dashboard-nav::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: 0;
    background: linear-gradient(135deg, #540045 0%, #ff3846 100%);
    border-radius: 20px 20px 0 0;
    z-index: -1;
}

.dashboard-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
    align-items: center;
    height: 70px;
    width: 100%;
    background: transparent;
    border: none;
    overflow: hidden;
}

.dashboard-nav li {
    margin: 0;
    padding: 0;
    position: relative;
    background: transparent;
    border: none;
}

/* Item de perfil do usuário */
.user-profile-item {
    margin-right: auto; /* Empurra para o canto esquerdo */
    padding-left: 10px;
}

.user-mini-photo-container {
    position: relative;
}

.user-mini-photo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 2px solid rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    cursor: pointer;
}

.user-mini-photo:hover {
    border-color: white;
    transform: scale(1.05);
}

.edit-mini-photo {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid white;
    transition: var(--transition);
    font-size: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    padding: 0;
    z-index: 2;
}

.edit-mini-photo:hover {
    background-color: var(--secondary-color);
    transform: scale(1.1);
}

.dashboard-nav a {
    display: flex;
    align-items: center;
    padding: 12px 18px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    border-radius: 30px;
    margin: 0 5px;
    font-size: 14px;
    background: transparent;
    border: none;
    overflow: visible;
}

.dashboard-nav a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: white;
    opacity: 0;
    transition: var(--transition);
    transform: scaleX(0);
    border-radius: 3px 3px 0 0;
}

.dashboard-nav a i {
    margin-right: 8px;
    font-size: 14px;
    transition: var(--transition);
    color: white;
    opacity: 0.7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dashboard-nav li:first-child a i {
    margin-right: 5px;
}

.dashboard-nav li.active a {
    color: white;
    background-color: rgba(255, 255, 255, 0.15);
}

.dashboard-nav li.active a::after {
    opacity: 1;
    transform: scaleX(1);
}

.dashboard-nav li.active a i {
    opacity: 1;
    transform: scale(1.1);
}

.dashboard-nav a:hover {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
}

.dashboard-nav a:hover::after {
    opacity: 0.5;
    transform: scaleX(0.5);
}

.dashboard-nav a:hover i {
    transform: translateY(-2px);
    opacity: 1;
}

/* Contador no menu */
.nav-counter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    background-color: white;
    color: var(--secondary-color);
    font-size: 11px;
    border-radius: 11px;
    margin-left: 5px;
    padding: 0 6px;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.dashboard-nav a:hover .nav-counter {
    transform: scale(1.1);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

/* Media Queries para o Menu */
@media (max-width: 768px) {
    .dashboard-nav ul {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 0 5px;
        height: 60px;
        -ms-overflow-style: none;  /* IE and Edge */
        scrollbar-width: none;  /* Firefox */
    }
    
    .dashboard-nav ul::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    
    .user-profile-item {
        padding-left: 5px;
        margin-right: 5px;
    }
    
    .user-mini-photo {
        width: 35px;
        height: 35px;
        border-width: 1px;
    }
    
    .edit-mini-photo {
        width: 16px;
        height: 16px;
        font-size: 8px;
    }
    
    .dashboard-nav a {
        padding: 8px 12px;
        font-size: 13px;
        margin: 0 2px;
        white-space: nowrap;
    }
    
    .dashboard-nav a i {
        margin-right: 5px;
    }
    
    .nav-counter {
        min-width: 18px;
        height: 18px;
        font-size: 10px;
    }
    
    .dashboard-content {
        padding: 20px 15px;
    }
}

/* Cards de mídia modernos */
.media-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.media-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--light-color);
    cursor: pointer;
}

.media-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.media-card-inner {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    background-size: cover;
    background-position: center;
    background-color: #f5f5f5;
}

.media-card-content {
    position: relative;
    width: 100%;
    padding-top: 100%; /* Proporção 1:1 */
    background-color: var(--light-grey-color);
}

.media-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-card-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0.1) 0%, 
        rgba(0, 0, 0, 0.3) 50%, 
        rgba(0, 0, 0, 0.7) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px;
    color: white;
}

.media-card:hover .media-card-overlay {
    opacity: 1;
}

.media-card-date {
    font-size: 12px;
    opacity: 0.9;
}

.media-card-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(84, 0, 69, 0.8);
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.media-card-type {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.6);
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 5px;
    color: white;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 1;
    pointer-events: none;
}

.media-card-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px;
    display: flex;
    justify-content: space-around;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.media-card:hover .media-card-actions {
    opacity: 1;
}

.media-card-actions button,
.media-card-actions .download-media-btn {
    background: transparent;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.media-card-actions button:hover,
.media-card-actions .download-media-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Estilo para o botão de download para parecer um link */
.download-media-btn {
    background: transparent;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.download-media-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.media-modal-download {
    background: transparent;
    border: none;
    color: var(--secondary-color);
    font-size: 16px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.media-modal-download:hover {
    background-color: rgba(84, 0, 69, 0.1);
    color: var(--primary-color);
}

.media-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 24px;
    z-index: 5;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.video-card:hover .media-play-icon {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Novos estilos para thumbnail personalizado na galeria de vídeos */
.video-custom-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(0deg, rgba(84, 0, 69, 0.7) 0%, rgba(255, 56, 70, 0.4) 100%);
    z-index: 2;
}

.video-thumbnail-logo {
    width: 40%;
    max-width: 120px;
    height: auto;
    margin-bottom: 15px;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.3));
    opacity: 0.9;
    transform: scale(0.95);
    transition: all 0.3s ease;
}

.video-custom-play {
    width: 50px;
    height: 50px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.video-custom-play i {
    color: var(--secondary-color);
    font-size: 22px;
    margin-left: 4px;
}

.media-card:hover .video-custom-thumbnail,
.media-item:hover .video-custom-thumbnail {
    background: linear-gradient(0deg, rgba(84, 0, 69, 0.8) 0%, rgba(255, 56, 70, 0.5) 100%);
}

.media-card:hover .video-thumbnail-logo,
.media-item:hover .video-thumbnail-logo {
    transform: scale(1);
    opacity: 1;
}

.media-card:hover .video-custom-play,
.media-item:hover .video-custom-play {
    transform: scale(1.1);
}

/* Estilos para a visualização de grid de vídeos */
.videos-grid .media-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
    transition: all 0.3s ease;
}

.videos-grid .media-thumbnail {
    width: 100%;
    height: 0;
    padding-top: 100%; /* Proporção 1:1 */
    position: relative;
}

.videos-grid .video-custom-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Modal de visualização melhorado */
.media-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-show {
    opacity: 1;
}

.media-modal-content {
    position: relative;
    background-color: var(--light-color);
    max-width: 85%;
    width: auto;
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.media-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    color: white;
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.media-modal-close:hover {
    background-color: var(--error-color);
    transform: rotate(90deg);
}

.media-modal-body {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    background-color: #000;
    overflow: hidden;
    padding: 0;
}

.media-modal-img-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 75vh;
    width: 100%;
}

.media-modal-img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
}

.media-modal-video {
    max-width: 100%;
    max-height: 75vh;
    background-color: #000;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.media-modal-controls {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    z-index: 5;
}

.media-modal-prev,
.media-modal-next {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 20px;
}

.media-modal-prev:hover,
.media-modal-next:hover {
    background-color: rgba(255, 56, 70, 0.8);
    transform: scale(1.1);
}

.media-modal-footer {
    padding: 15px 20px;
    background-color: #f9f9f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.media-modal-actions {
    display: flex;
    gap: 10px;
}

.media-modal-actions button,
.media-modal-actions a {
    padding: 8px 15px;
    border-radius: 5px;
    background-color: var(--btn-color);
    color: white;
    border: none;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
}

.media-modal-actions button:hover,
.media-modal-actions a:hover {
    background-color: var(--btn-hover);
}

.media-modal-delete-btn {
    background-color: var(--error-color) !important;
}

.media-modal-delete-btn:hover {
    background-color: #b71c1c !important;
}

.media-modal-counter {
    font-size: 14px;
    color: var(--text-light);
}

/* Conteúdo do painel */
.dashboard-content {
    padding: 35px;
    background-color: var(--light-color);
}

.tab-content {
    min-height: 300px;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mensagens de status */
.status-message {
    padding: 15px 20px;
    border-radius: var(--card-radius);
    margin-bottom: 25px;
    font-size: 14px;
    display: flex;
    align-items: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.status-message.success {
    background-color: rgba(56, 142, 60, 0.1);
    color: var(--success-color);
    border-left: 4px solid var(--success-color);
}

.status-message.success::before {
    content: '\f058';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 10px;
    font-size: 18px;
}

.status-message.error {
    background-color: rgba(211, 47, 47, 0.1);
    color: var(--error-color);
    border-left: 4px solid var(--error-color);
}

.status-message.error::before {
    content: '\f057';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 10px;
    font-size: 18px;
}

/* Aba Home */
.home-tab h3, .photos-tab h3, .videos-tab h3, .share-tab h3 {
    margin-top: 0;
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: 600;
    color: var(--secondary-color);
    position: relative;
    padding-left: 15px;
}

.home-tab h3::before, .photos-tab h3::before, .videos-tab h3::before, .share-tab h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 25px;
    background: var(--gradient-bg);
    border-radius: 3px;
}

.dashboard-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
}

.stat-card {
    padding: 30px 25px;
    background-color: var(--light-color);
    border-radius: var(--card-radius);
    min-width: 200px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(84, 0, 69, 0.05);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-bg);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.stat-card i {
    font-size: 38px;
    color: var(--secondary-color);
    margin-bottom: 15px;
    transition: var(--transition);
}

.stat-card:hover i {
    transform: scale(1.2);
    color: var(--primary-color);
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    display: block;
    font-size: 16px;
    color: var(--secondary-color);
    font-weight: 500;
}

.recent-media h4 {
    font-size: 20px;
    margin-bottom: 25px;
    color: var(--secondary-color);
    font-weight: 600;
    text-align: center;
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
    border-bottom: 2px dashed var(--primary-color);
    margin-left: auto;
    margin-right: auto;
    display: table;
}

/* Grade de mídia */
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.media-item {
    position: relative;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    background-color: var(--light-color);
    border: 1px solid rgba(84, 0, 69, 0.05);
}

.media-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.media-thumbnail {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: var(--gray-color);
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.media-item:hover .media-thumbnail {
    filter: brightness(1.1);
}

.video-thumbnail::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.2);
}

.video-thumbnail i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 40px;
    color: var(--light-color);
    opacity: 0.9;
    z-index: 1;
}

.media-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 8px;
}

.media-actions button {
    width: 32px;
    height: 32px;
    border-radius: 16px;
    background-color: rgba(0, 0, 0, 0.6);
    color: var(--light-color);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.media-actions button:hover {
    background-color: var(--error-color);
}

.shared-indicator {
    width: 32px;
    height: 32px;
    border-radius: 16px;
    background-color: rgba(84, 0, 69, 0.6);
    color: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mensagem de nenhuma mídia */
.no-media-message {
    text-align: center;
    padding: 50px 20px;
    color: var(--text-light);
    font-style: italic;
}

/* Botões */
.obaclick-btn {
    background: var(--btn-color);
    color: var(--light-color);
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.obaclick-btn.btn-secondary {
    background: #6c757d;
    margin-left: 10px;
}

.obaclick-btn.btn-secondary:hover {
    background: #5a6268;
}

.obaclick-btn:hover {
    background: var(--btn-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.obaclick-btn.btn-outline {
    background: transparent;
    color: var(--dark-color);
    border: 1px solid var(--border-color);
}

.obaclick-btn.btn-outline:hover {
    background: var(--gray-color);
}

.obaclick-btn i {
    font-size: 16px;
}

/* Cabeçalho das abas de upload */
.tab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.tab-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Aba de compartilhamento (QR Code) */
.share-tab {
    text-align: center;
    padding: 20px;
}

.share-instructions {
    max-width: 600px;
    margin: 0 auto 30px;
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.5;
}

.qrcode-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    padding: 0 15px;
}

.qrcode-wrapper {
    position: relative;
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(84, 0, 69, 0.15);
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 280px;
    animation: pulse 3s infinite ease-in-out;
}

#qrcode-animation {
    position: relative;
    padding: 15px;
    border-radius: 15px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: transform 0.3s ease;
    animation: float 6s infinite ease-in-out;
}

#qrcode-animation:hover {
    transform: rotate3d(1, 1, 0, 5deg);
}

#qrcode {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

#qrcode img {
    padding: 15px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(84, 0, 69, 0.1);
    transition: all 0.3s ease;
}

.qrcode-shine {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.8) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    background-size: 200% 200%;
    border-radius: 15px;
    pointer-events: none;
    z-index: 2;
    opacity: 0.7;
    animation: shine 5s infinite linear;
}

#qrcode-animation:hover .qrcode-shine {
    opacity: 0.9;
}

.qrcode-logo {
    position: absolute;
    z-index: 3;
    width: 60px;
    height: 60px;
    background: transparent;
    border-radius: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: none;
    border: none;
    transition: all 0.3s ease;
    padding: 0;
}

.qrcode-logo img {
    width: 100%;
    height: auto;
    border-radius: 0;
    object-fit: contain;
}

#qrcode-animation:hover .qrcode-logo {
    transform: scale(1.1);
    border-color: transparent;
    box-shadow: none;
}

.qrcode-user-info {
    display: flex;
    align-items: center;
    margin-top: 20px;
    padding: 10px 15px;
    background: linear-gradient(135deg, #540045 0%, #ff3846 100%);
    border-radius: 50px;
    color: #fff;
    width: 100%;
    box-shadow: 0 5px 15px rgba(84, 0, 69, 0.2);
}

.qrcode-profile-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 2px solid #fff;
    margin-right: 10px;
    flex-shrink: 0;
}

.qrcode-user-name {
    font-size: 16px;
    font-weight: 500;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.share-url-container {
    width: 100%;
    max-width: 400px;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.input-with-icon {
    position: relative;
    width: 100%;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #540045;
}

.input-with-icon input {
    padding-left: 45px !important;
    border-radius: 50px !important;
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    font-size: 14px;
    color: #333;
}

#copy-url {
    background: linear-gradient(135deg, #540045 0%, #ff3846 100%);
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

#copy-url:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(84, 0, 69, 0.3);
}

.share-instructions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.instruction-card {
    display: flex;
    background: #fff;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.instruction-icon {
    background: linear-gradient(135deg, #540045 0%, #ff3846 100%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 20px;
    margin-right: 15px;
    flex-shrink: 0;
}

.instruction-text {
    flex: 1;
}

.instruction-text h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.instruction-text p {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
    justify-content: center;
}

.whatsapp-share,
.email-share {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 200px;
    gap: 8px;
}

.whatsapp-share {
    background-color: #25D366;
    color: #fff;
}

.email-share {
    background-color: #FF3846;
    color: #fff;
}

.whatsapp-share:hover,
.email-share:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Media queries para responsividade */
@media (min-width: 768px) {
    .share-content {
        display: flex;
        flex-direction: row-reverse;
        align-items: flex-start;
        gap: 30px;
    }
    
    .qrcode-container {
        flex: 1;
        margin-bottom: 0;
    }
    
    .share-instructions {
        flex: 1;
        margin-top: 0;
    }
}

@media (max-width: 767px) {
    .share-buttons {
        flex-direction: column;
    }
}

/* Modais */
.obaclick-modal, .modal-overlay {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    position: relative;
}

.modal-content h3 {
    margin-top: 0;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.progress-bar-container {
    height: 8px;
    background-color: var(--gray-color);
    border-radius: 4px;
    overflow: hidden;
    margin: 15px 0;
}

.progress-bar {
    height: 100%;
    background: var(--gradient-bg);
    border-radius: 4px;
    width: 0%;
    transition: width 0.3s ease;
}

.modal-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

/* Página de compartilhamento */
.obaclick-share-page {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
}

.share-header {
    text-align: center;
    margin-bottom: 40px;
}

.share-header .profile-image {
    width: 120px;
    height: 120px;
    border-radius: 60px;
    background-size: cover;
    background-position: center;
    margin: 0 auto 20px;
    border: 4px solid rgba(84, 0, 69, 0.2);
}

.share-header h1 {
    font-size: 28px;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.share-description {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.share-container {
    background-color: var(--light-color);
    border-radius: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 30px;
}

.share-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
}

.share-tab-btn {
    flex: 1;
    padding: 15px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.share-tab-btn.active {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
}

.share-tab-content {
    display: none;
    padding: 30px;
}

.share-tab-content.active {
    display: block;
}

.upload-area {
    border: 2px dashed var(--border-color);
    border-radius: 10px;
    padding: 50px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-area:hover {
    border-color: var(--primary-color);
    background-color: rgba(255, 56, 70, 0.05);
}

.upload-area.dragover {
    border-color: var(--secondary-color);
    background-color: rgba(84, 0, 69, 0.05);
}

.upload-area i {
    font-size: 48px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.upload-area p {
    font-size: 16px;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.file-info {
    font-size: 14px;
    color: var(--text-light);
}

.share-preview {
    padding: 30px;
}

.share-preview h3 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 20px;
    color: var(--dark-color);
}

.preview-container {
    max-width: 500px;
    margin: 0 auto 30px;
    text-align: center;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.preview-container img, .preview-container video {
    max-width: 100%;
    display: block;
}

.preview-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.share-footer {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 14px;
}

/* Responsividade */
@media (max-width: 768px) {
    .dashboard-nav ul {
        flex-wrap: wrap;
    }
    
    .dashboard-nav a {
        padding: 12px 15px;
    }
    
    .dashboard-stats {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .stat-card {
        width: 100%;
        max-width: 300px;
    }
    
    .media-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .media-thumbnail {
        height: 150px;
    }
    
    .share-buttons {
        flex-direction: column;
    }
    
    .share-url-container {
        flex-direction: column;
    }
}

/* Mensagem de erro */
.obaclick-error-message {
    text-align: center;
    padding: 50px 20px;
    background-color: rgba(211, 47, 47, 0.1);
    color: var(--error-color);
    border-radius: 10px;
    margin: 40px auto;
    max-width: 600px;
}

.obaclick-error-message a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.obaclick-error-message a:hover {
    text-decoration: underline;
}

/* Vista de mídia recente */
.view-more-container {
    text-align: center;
    margin-top: 20px;
}

.view-more-button {
    display: inline-flex;
    align-items: center;
    background-color: var(--gray-color);
    color: var(--dark-color);
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.view-more-button span {
    margin-right: 8px;
}

.view-more-button:hover {
    background-color: var(--secondary-color);
    color: var(--light-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Estilos para o modal de progresso e sucesso */
#upload-progress-modal, #upload-success-modal {
    display: none;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
}

#upload-progress-modal .modal-content, 
#upload-success-modal .modal-content {
    padding: 25px;
    text-align: center;
    max-width: 450px;
}

#upload-progress-modal h3, 
#upload-success-modal h3 {
    margin-top: 10px;
    margin-bottom: 20px;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 22px;
}

.progress-bar-container {
    background-color: #f3f3f3;
    border-radius: 8px;
    overflow: hidden;
    height: 20px;
    margin: 15px 0 20px;
    position: relative;
}

#upload-progress-bar {
    height: 100%;
    background: var(--gradient-bg);
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 8px;
}

#upload-status {
    font-size: 16px;
    margin-top: 15px;
    color: var(--dark-color);
}

.upload-success-close {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 24px;
    font-weight: bold;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.upload-success-close:hover {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.success-icon {
    margin: 15px auto 25px;
}

.success-icon i {
    font-size: 60px;
    color: var(--success-color);
    animation: scaleSuccess 0.5s ease;
}

@keyframes scaleSuccess {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

#upload-success-message {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--dark-color);
    line-height: 1.5;
}

#upload-success-ok {
    margin-top: 20px;
    min-width: 100px;
    background: var(--gradient-bg);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#upload-success-ok:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(84, 0, 69, 0.3);
}

/* Estilos para a página de compartilhamento (Eternize Momentos) */
.eternize-momentos-container {
    font-family: 'Poppins', 'Playfair Display', serif;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 15px 60px;
    overflow: hidden;
}

.eternize-header {
    text-align: center;
    margin-bottom: 30px;
}

.eternize-header h1 {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--secondary-color);
    margin: 0;
    line-height: 0.9;
    letter-spacing: -1px;
}

.eternize-header h1 span {
    display: block;
    font-size: 2.8rem;
}

.eternize-tagline {
    font-size: 1rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: 5px;
}

.clock-container {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--secondary-color);
    margin: 30px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(84, 0, 69, 0.3);
    position: relative;
    z-index: 2;
    transition: all 0.5s ease;
}

.clock-container:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(84, 0, 69, 0.4);
}

.clock-inner {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: var(--secondary-color);
}

.special-message {
    text-align: center;
    margin: 40px auto;
    padding: 0 20px;
    max-width: 800px;
}

.special-message h2 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.special-message p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
}

.media-options {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px auto;
}

.media-option {
    width: 260px;
    height: 200px;
    background-color: #fff;
    border-radius: 15px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--dark-color);
    box-shadow: 0 10px 20px rgba(84, 0, 69, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.media-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-bg);
}

.media-option:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px rgba(84, 0, 69, 0.2);
}

.media-option-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.media-option:hover .media-option-icon {
    transform: scale(1.1);
}

.media-option-label {
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 15px;
    color: var(--secondary-color);
}

/* Estilos para modal de upload */
.upload-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.upload-modal-content {
    background-color: #fff;
    border-radius: 15px;
    max-width: 600px;
    width: 90%;
    padding: 30px;
    position: relative;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.upload-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-modal-close:hover {
    color: var(--error-color);
    transform: rotate(90deg);
}

.upload-modal-content h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
}

/* Responsivo */
@media (max-width: 768px) {
    .media-options {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .eternize-header h1 {
        font-size: 2.5rem;
    }
    
    .eternize-header h1 span {
        font-size: 2rem;
    }
    
    .clock-container {
        width: 160px;
        height: 160px;
    }
    
    .clock-inner {
        width: 140px;
        height: 140px;
        font-size: 60px;
    }
    
    .special-message h2 {
        font-size: 1.4rem;
    }
    
    .special-message p {
        font-size: 1rem;
    }
    
    .media-option {
        width: 220px;
        height: 180px;
    }
}

/* Animações para o QR Code */
@keyframes pulse {
    0% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    100% {
        opacity: 0.6;
        transform: scale(1);
    }
}

@keyframes shine {
    0% {
        background-position: -100% 100%;
    }
    100% {
        background-position: 200% -100%;
    }
}

.logo-obaclick {
    font-family: 'Playfair Display', serif;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.5px;
    padding: 0;
    line-height: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.logo-oba {
    color: #540045;
    font-weight: 900;
}

.logo-click {
    color: #ff3846;
    font-weight: 700;
}

/* Animações adicionais para o QR Code */
@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Novo Layout Moderno para Home - Layout em Duas Colunas */
.home-modern-layout {
    margin-top: 20px;
}

.home-modern-layout .welcome-banner {
    background: var(--gradient-bg);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(84, 0, 69, 0.15);
    animation: fadeInDown 0.6s ease-out;
}

.home-modern-layout .welcome-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 60%);
    animation: rotateBg 15s linear infinite;
}

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

.home-modern-layout .welcome-content h3 {
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 10px;
    color: white;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.home-modern-layout .welcome-content p {
    font-size: 16px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.9);
}

.home-grid-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
}

/* Cards Modernos */
.modern-card {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.modern-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-header {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-header h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
}

.card-header h4 i {
    margin-right: 10px;
    color: var(--primary-color);
}

.card-header.with-actions {
    justify-content: space-between;
}

.card-actions {
    display: flex;
    align-items: center;
}

.card-action-link {
    font-size: 14px;
    color: var(--secondary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.card-action-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.card-action-link:hover {
    color: var(--primary-color);
}

.card-action-link:hover i {
    transform: translateX(3px);
}

/* Estatísticas Modernas */
.modern-stats {
    padding: 20px;
}

.modern-stat-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.modern-stat-item:last-child {
    margin-bottom: 0;
}

.modern-stat-item:hover {
    background-color: #f0f0f0;
    transform: translateX(5px);
}

.stat-icon-container {
    width: 50px;
    height: 50px;
    background: var(--gradient-bg);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.stat-icon-container::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modern-stat-item:hover .stat-icon-container::after {
    opacity: 1;
    animation: pulse 2s infinite;
}

.stat-info {
    flex: 1;
}

.stat-counter {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
}

.stat-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: var(--progress);
    background: var(--gradient-bg);
    transition: width 1s ease-in-out;
}

/* Ações Rápidas */
.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 20px;
}

.quick-action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 15px;
    background-color: #f9f9f9;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

.quick-action-item:hover {
    background-color: #f0f0f0;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.quick-action-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    color: white;
    font-size: 20px;
    transition: all 0.3s ease;
}

.quick-action-item:hover .quick-action-icon {
    transform: scale(1.1) rotate(5deg);
}

.quick-action-label {
    font-size: 14px;
    color: var(--dark-color);
    font-weight: 500;
}

/* QR Code Compartilhamento Rápido */
.quick-share-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mini-qrcode-container {
    position: relative;
    margin-bottom: 20px;
    width: 150px;
    height: 150px;
}

.mini-qrcode {
    width: 100%;
    height: 100%;
    padding: 10px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.mini-qrcode-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    z-index: 2;
    padding: 0;
    border: none;
}

.mini-qrcode-logo img {
    width: 100%;
    height: auto;
    border-radius: 0;
    object-fit: contain;
}

.quick-share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.share-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-button.whatsapp {
    background-color: #25D366;
}

.share-button.email {
    background-color: #FF3846;
}

.share-button.copy {
    background-color: #540045;
    border: none;
    cursor: pointer;
}

.share-button:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.view-full-qr {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.view-full-qr i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.view-full-qr:hover {
    color: var(--primary-color);
}

.view-full-qr:hover i {
    transform: translateX(3px);
}

/* Mídia Recente Masonry Layout */
.modern-media-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    padding: 20px;
}

.masonry-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.masonry-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.masonry-item-inner {
    width: 100%;
    aspect-ratio: 1/1;
    background-size: cover;
    background-position: center;
    position: relative;
}

.masonry-item-inner.video {
    position: relative;
    overflow: hidden;
}

.masonry-item-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background-color: rgba(255, 56, 70, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 1;
    transition: all 0.3s ease;
    cursor: pointer;
}

.masonry-item:hover .masonry-item-play {
    transform: translate(-50%, -50%) scale(1.1);
    background-color: var(--primary-color);
}

.masonry-item-type {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    color: white;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
}

.masonry-item-type.photo {
    background-color: rgba(84, 0, 69, 0.7);
}

.masonry-item-type.video {
    background-color: rgba(255, 56, 70, 0.7);
}

.masonry-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0.1) 0%, 
        rgba(0, 0, 0, 0.3) 50%, 
        rgba(0, 0, 0, 0.7) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px;
    color: white;
}

.masonry-item:hover .masonry-item-overlay {
    opacity: 1;
}

.masonry-item-date {
    font-size: 12px;
    opacity: 0.9;
}

.masonry-item-actions {
    display: flex;
    justify-content: space-around;
}

.masonry-item-actions button,
.masonry-item-actions a {
    background: transparent;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.masonry-item-actions button:hover,
.masonry-item-actions a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Estado vazio modernizado */
.modern-empty {
    padding: 40px 20px;
    text-align: center;
}

.empty-icon-container {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
    color: var(--text-light);
}

.modern-empty h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.modern-empty p {
    color: var(--text-light);
    margin-bottom: 25px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.modern-action-button {
    display: inline-flex;
    align-items: center;
    padding: 12px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.modern-action-button.primary {
    background: var(--gradient-bg);
    color: white;
}

.modern-action-button.secondary {
    background: #f0f0f0;
    color: var(--dark-color);
}

.modern-action-button i {
    margin-right: 8px;
}

.modern-action-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Animações */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsividade para o layout moderno */
@media (max-width: 992px) {
    .home-grid-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .quick-actions-grid {
        grid-template-columns: 1fr;
    }
    
    .modern-media-masonry {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}

/* Notificação de cópia */
.copy-notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s ease;
}

.copy-notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Estilos para o card de estatísticas de visitas */
.visits-stats-card {
    margin-top: 20px;
}

.visits-stats-content {
    padding: 20px;
}

.visits-counter-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.total-visits-counter {
    text-align: center;
    flex-shrink: 0;
    padding-right: 20px;
    border-right: 1px dashed #e0e0e0;
}

.counter-value {
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1;
    margin-bottom: 5px;
}

.counter-label {
    font-size: 14px;
    color: var(--text-light);
}

.visits-details {
    flex: 1;
    padding-left: 20px;
}

.visit-stat-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.visit-stat-item:last-child {
    margin-bottom: 0;
}

.visit-stat-item i {
    color: var(--primary-color);
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.visit-stat-item span {
    font-size: 14px;
    color: var(--text-light);
}

.visit-stat-item strong {
    color: var(--dark-color);
}

.visits-chart-container {
    margin-top: 15px;
}

.visits-progress-bar {
    height: 8px;
    background-color: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-bg);
    border-radius: 4px;
    transition: width 1s ease-in-out;
}

.visits-progress-label {
    margin-top: 6px;
    font-size: 12px;
    color: var(--text-light);
    text-align: right;
}

@media (max-width: 767px) {
    .visits-counter-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .total-visits-counter {
        padding-right: 0;
        border-right: none;
        border-bottom: 1px dashed #e0e0e0;
        padding-bottom: 15px;
        margin-bottom: 15px;
        width: 100%;
    }
    
    .visits-details {
        padding-left: 0;
    }
}

.video-error-message {
    padding: 20px;
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border-radius: 8px;
    text-align: center;
    margin: 20px;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.video-error-message i {
    font-size: 24px;
    margin-bottom: 10px;
    display: block;
}

.video-error-message a {
    color: #007bff;
    text-decoration: underline;
    margin-left: 10px;
}

.video-error-message a:hover {
    color: #0056b3;
}

/* Handler para tornar todo o item clicável */
.masonry-item-clickable {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    cursor: pointer;
}

/* Ajuste para garantir que as ações fiquem acima da área clicável */
.masonry-item-overlay {
    z-index: 6;
}

.masonry-item-actions {
    z-index: 10;
}

/* Ajuste para o ícone de play ficar acima da área clicável */
.masonry-item-play {
    z-index: 7;
}

/* Garantir que vídeos no modal tenham tamanho adequado */
.media-modal-video {
    display: block;
    margin: 0 auto;
    width: 100%;
    height: auto;
}

/* Estilos para os itens clicáveis na galeria */
.masonry-item-clickable {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    cursor: pointer;
}

.masonry-item-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background-color: rgba(255, 56, 70, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 3; /* Maior que masonry-item-clickable para garantir que seja clicável */
    transition: all 0.3s ease;
    cursor: pointer;
}

.masonry-item:hover .masonry-item-play {
    transform: translate(-50%, -50%) scale(1.1);
    background-color: var(--primary-color);
}

/* Estilos para o modal de visualização de mídia */
.media-modal-img-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    max-height: 80vh;
    background-color: #000;
    overflow: hidden;
}

.media-modal-img, 
.media-modal-video {
    max-width: 100%;
    max-height: 80vh;
    display: block;
    margin: 0 auto;
}

.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
}

.video-play-overlay i {
    font-size: 60px;
    color: white;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.video-play-overlay:hover i {
    transform: scale(1.2);
}

/* Animação de carregamento */
.loading-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    gap: 10px;
}

.loading-indicator i {
    font-size: 30px;
}

/* Mensagem de erro */
.media-error-message {
    color: white;
    background-color: rgba(255, 0, 0, 0.5);
    padding: 15px;
    border-radius: 5px;
    text-align: center;
}

.media-error-message a {
    color: white;
    text-decoration: underline;
    font-weight: bold;
}

.media-error-message i {
    margin-right: 10px;
    font-size: 20px;
}

/* QR Code logo */
.qrcode-logo, .mini-qrcode-logo {
    position: absolute;
    z-index: 3;
    width: 60px;
    height: 60px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: none;
    border: none;
    transition: all 0.3s ease;
    padding: 0;
}

.qrcode-logo img, .mini-qrcode-logo img {
    width: 100%;
    height: auto;
    border-radius: 0;
    object-fit: contain;
}

.mini-qrcode-logo {
    width: 40px;
    height: 40px;
}

/* Melhorar responsividade para mobile */
@media (max-width: 768px) {
    /* Ajustes gerais do container */
    .obaclick-dashboard-container {
        margin: 0 10px !important;
        border-radius: 15px !important;
    }
    
    /* Menu mais compacto para mobile */
    .dashboard-nav {
        overflow-x: auto !important;
        justify-content: flex-start !important;
        padding: 0 10px !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-snap-type: x mandatory !important;
    }
    
    .dashboard-nav ul {
        display: flex !important;
        justify-content: flex-start !important;
        width: 100% !important;
        height: 60px !important;
        padding: 0 5px !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    .dashboard-nav li {
        flex: 0 0 auto !important;
        scroll-snap-align: start !important;
    }
    
    .user-profile-item {
        margin-right: 0 !important;
        padding-left: 5px !important;
    }
    
    .user-mini-photo {
        width: 35px !important;
        height: 35px !important;
    }
    
    .edit-mini-photo {
        width: 16px !important;
        height: 16px !important;
    }
    
    .dashboard-nav a {
        padding: 8px 12px !important;
        margin: 0 2px !important;
        font-size: 13px !important;
        white-space: nowrap !important;
    }
    
    .dashboard-nav a i {
        font-size: 14px !important;
        margin-right: 5px !important;
    }
    
    .nav-counter {
        font-size: 10px !important;
        width: 16px !important;
        height: 16px !important;
        line-height: 16px !important;
    }
    
    /* Ajustes do conteúdo */
    .dashboard-content {
        padding: 15px 10px !important;
    }

    /* Grid de conteúdo para uma coluna em mobile */
    .home-grid-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
    }
    
    .home-grid-column {
        width: 100% !important;
    }
    
    /* Ajustes de cards */
    .modern-card {
        margin-bottom: 15px !important;
        padding: 15px !important;
    }
    
    .card-header {
        margin-bottom: 15px !important;
    }
    
    /* Ações rápidas */
    .quick-actions-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    
    .quick-action-item {
        padding: 10px !important;
    }
    
    /* Ajustes de galeria */
    .modern-media-masonry {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    
    /* Abas com hover animado */
    .dashboard-nav a::after {
        display: none !important;
    }
    
    .dashboard-nav li.active a {
        background-color: rgba(255, 255, 255, 0.2) !important;
        color: white !important;
        transform: none !important;
    }
    
    /* Estatísticas de visitas */
    .visits-counter-wrapper {
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .total-visits-counter {
        margin-bottom: 15px !important;
        padding: 15px !important;
        width: 100% !important;
        text-align: center !important;
    }
    
    .visits-details {
        width: 100% !important;
    }
    
    /* Ajuste para modal */
    .media-modal-content {
        width: 95% !important;
        max-width: 400px !important;
        max-height: 90vh !important;
    }
    
    .media-modal-img-container {
        height: auto !important;
        max-height: 60vh !important;
    }
    
    .media-modal-img, 
    .media-modal-video {
        max-height: 60vh !important;
    }
    
    /* Ajustes para formulários */
    .input-with-icon {
        flex-direction: column !important;
    }
    
    .input-with-icon input {
        width: 100% !important;
        border-radius: 8px !important;
        margin-bottom: 10px !important;
    }
    
    #copy-url {
        width: 100% !important;
    }
    
    /* QR Code ajustes */
    .qrcode-container {
        padding: 15px !important;
    }
    
    #qrcode {
        width: 200px !important;
        height: 200px !important;
    }
    
    /* Botões de compartilhamento */
    .share-buttons {
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    .whatsapp-share,
    .email-share {
        width: 100% !important;
    }
}

/* Ajustes específicos para telas muito pequenas */
@media (max-width: 480px) {
    .dashboard-nav a span {
        display: none !important;
    }
    
    .dashboard-nav a {
        padding: 8px !important;
        justify-content: center !important;
    }
    
    .dashboard-nav a i {
        margin-right: 0 !important;
        font-size: 12px !important;
    }
    
    .modern-media-masonry {
        grid-template-columns: 1fr !important;
    }
    
    .quick-actions-grid {
        gap: 8px !important;
    }
    
    .modern-empty h3 {
        font-size: 18px !important;
    }
    
    .empty-actions {
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    .modern-action-button {
        width: 100% !important;
    }
}

/* Classes para feedback tátil em toque */
.touch-active {
    opacity: 0.8 !important;
    transform: scale(0.98) !important;
    transition: all 0.1s ease-in-out !important;
}

/* Efeito de scrolling para o menu */
.dashboard-nav.scrolling {
    box-shadow: inset -10px 0 10px -10px rgba(0, 0, 0, 0.3) !important;
}

/* Estilos para feedback de toque */
@media (max-width: 768px) {
    .dashboard-nav a:active,
    .obaclick-btn:active,
    .media-card:active,
    .quick-action-item:active {
        opacity: 0.8 !important;
        transform: scale(0.98) !important;
    }
    
    /* Melhorar feedback visual em mobile */
    .dashboard-nav li.active a {
        position: relative !important;
    }
    
    .dashboard-nav li.active a::before {
        content: '' !important;
        position: absolute !important;
        bottom: 5px !important;
        left: 50% !important;
        width: 5px !important;
        height: 5px !important;
        background-color: white !important;
        border-radius: 50% !important;
        transform: translateX(-50%) !important;
    }
}

/* Mobile nav indicator e overlay */
.mobile-nav-indicator {
    display: none;
}

.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Estilos específicos para visualização móvel */
.mobile-view .tab-content {
    padding: 0;
}

.mobile-tab-content {
    padding: 10px !important;
}

.mobile-optimized .tab-header {
    margin-bottom: 15px !important;
    padding-bottom: 15px !important;
}

.mobile-optimized .media-grid {
    gap: 10px !important;
}

@media (max-width: 768px) {
    .mobile-nav-indicator {
        display: block !important;
        width: 50px !important;
        height: 4px !important;
        background-color: rgba(255, 255, 255, 0.3) !important;
        border-radius: 4px !important;
        position: absolute !important;
        bottom: 5px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        z-index: 2 !important;
    }
    
    /* Ajustes para melhor visualização de conteúdo em mobile */
    .mobile-optimized h3 {
        font-size: 20px !important;
        margin-bottom: 15px !important;
    }
    
    .mobile-optimized .qrcode-container {
        padding: 15px !important; 
    }
    
    .mobile-optimized .share-content {
        flex-direction: column !important;
    }
    
    .mobile-optimized .share-instructions {
        padding: 15px !important;
    }
    
    /* Melhorar visualização de cards em mobile */
    .modern-card {
        padding: 15px !important;
        border-radius: 10px !important;
        margin-bottom: 15px !important;
    }
    
    /* Melhorar feedback visual de foco */
    .dashboard-nav:focus-within {
        box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3) !important;
    }
    
    /* Otimizações para touch */
    .media-card,
    .masonry-item,
    .quick-action-item,
    .nav-item {
        -webkit-tap-highlight-color: transparent !important;
    }
} 

/* Estilos para telas muito pequenas */@media (max-width: 360px) {    /* Ajustes para o menu */    .dashboard-nav ul {        height: 55px !important;        padding: 0 2px !important;    }        .dashboard-nav a {        padding: 6px !important;    }        .user-mini-photo {        width: 30px !important;        height: 30px !important;    }        /* Ajustes para conteúdo */    .tab-content {        padding: 5px !important;    }        .modern-card {        padding: 12px !important;        margin-bottom: 12px !important;    }        .card-header h4 {        font-size: 16px !important;    }        .modern-action-button {        padding: 10px !important;        font-size: 14px !important;    }        /* QRCode mais compacto */    #qrcode {        width: 180px !important;        height: 180px !important;    }        /* Galerias mais compactas */    .media-grid {        grid-template-columns: 1fr !important;    }        /* Estatísticas mais compactas */    .stat-counter {        font-size: 22px !important;    }        .stat-label {        font-size: 12px !important;    }        /* Cabeçalhos */    .home-tab h3, .photos-tab h3, .videos-tab h3, .share-tab h3 {        font-size: 18px !important;        margin-bottom: 12px !important;    }}/* Ajustes para botões em dispositivos móveis */@media (max-width: 768px) {    /* Ajustes para os botões na área de fotos/mídia */    .tab-header {        flex-direction: column !important;        align-items: flex-start !important;        gap: 10px !important;        padding-bottom: 15px !important;        margin-bottom: 20px !important;    }        .tab-header h3 {        width: 100% !important;        margin-bottom: 10px !important;        font-size: 20px !important;    }        .tab-actions {        width: 100% !important;        display: flex !important;        justify-content: space-between !important;    }        .tab-actions .obaclick-btn {        padding: 8px 12px !important;        font-size: 13px !important;        white-space: nowrap !important;        flex: 1 !important;        margin: 0 5px !important;        text-overflow: ellipsis !important;        overflow: hidden !important;        text-align: center !important;    }        .tab-actions .obaclick-btn:first-child {        margin-left: 0 !important;    }        .tab-actions .obaclick-btn:last-child {        margin-right: 0 !important;    }        /* Ajustes para os ícones nos botões */    .obaclick-btn i {        font-size: 14px !important;        margin-right: 5px !important;    }        /* Garantir que o texto dos botões não seja cortado */    .obaclick-btn {        height: auto !important;        line-height: 1.4 !important;        min-height: 36px !important;        display: flex !important;        align-items: center !important;        justify-content: center !important;    }}/* Para telas muito pequenas, empilhar os botões */@media (max-width: 480px) {    .tab-actions {        flex-direction: column !important;        width: 100% !important;        gap: 8px !important;    }        .tab-actions .obaclick-btn {        width: 100% !important;        margin: 0 !important;    }        /* Ajustes adicionais para telas muito pequenas */    .tab-header h3 {        font-size: 18px !important;    }        .obaclick-btn i {        font-size: 13px !important;    }} 

@media (max-width: 768px) {    /* Ajustes para os botões na área de fotos/mídia */    .tab-header {        flex-direction: column !important;        align-items: flex-start !important;        gap: 10px !important;        padding-bottom: 15px !important;        margin-bottom: 20px !important;    }        .tab-header h3 {        width: 100% !important;        margin-bottom: 10px !important;        font-size: 20px !important;    }        .tab-actions {        width: 100% !important;        display: flex !important;        justify-content: space-between !important;    }        .tab-actions .obaclick-btn {        padding: 8px 12px !important;        font-size: 13px !important;        white-space: nowrap !important;        flex: 1 !important;        margin: 0 5px !important;        text-overflow: ellipsis !important;        overflow: hidden !important;        text-align: center !important;    }        .tab-actions .obaclick-btn:first-child {        margin-left: 0 !important;    }        .tab-actions .obaclick-btn:last-child {        margin-right: 0 !important;    }}

@media (max-width: 480px) {
    /* Para telas muito pequenas, empilhar os botões */
    .tab-actions {
        flex-direction: column !important;
        width: 100% !important;
        gap: 8px !important;
    }
    
    .tab-actions .obaclick-btn {
        width: 100% !important;
        margin: 0 !important;
    }
}

@media (max-width: 768px) {
    /* Ajustes para os ícones nos botões */
    .obaclick-btn i {
        font-size: 14px !important;
        margin-right: 5px !important;
    }
    
    /* Garantir que o texto dos botões não seja cortado */
    .obaclick-btn {
        height: auto !important;
        line-height: 1.4 !important;
        min-height: 36px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

/* Fix para botões cortados no mobile - adicionado em 20/05/2023 */
@media (max-width: 768px) {
    .photos-tab .tab-header,
    .videos-tab .tab-header {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 20px;
    }
    
    .photos-tab .tab-actions,
    .videos-tab .tab-actions {
        width: 100%;
        display: flex;
        margin-top: 10px;
    }
    
    .photos-tab .obaclick-btn,
    .videos-tab .obaclick-btn {
        padding: 8px 10px;
        font-size: 12px;
        flex: 1;
        justify-content: center;
        margin: 0 3px;
    }
}

/* Fix para telas muito pequenas - empilhar botões */
@media (max-width: 480px) {
    .photos-tab .tab-actions,
    .videos-tab .tab-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .photos-tab .obaclick-btn,
    .videos-tab .obaclick-btn {
        width: 100%;
        margin: 0;
    }
}

/* Melhorar visualização de ícones nos botões - mobile */
@media (max-width: 768px) {
    .photos-tab .obaclick-btn i,
    .videos-tab .obaclick-btn i {
        font-size: 14px;
        margin-right: 5px;
        display: inline-block;
    }
    
    /* Garantir visibilidade e alinhamento do conteúdo nos botões */
    .photos-tab .obaclick-btn,
    .videos-tab .obaclick-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1.2;
        height: auto;
        min-height: 36px;
    }
}

/* Garantir que não há bordas brancas em mobile */
@media (max-width: 768px) {
    .dashboard-nav {
        padding: 0 8px;
        border-radius: 15px 15px 0 0;
        margin: 0;
    }
    
    .dashboard-nav::before {
        border-radius: 15px 15px 0 0;
        top: -3px;
        left: -3px;
        right: -3px;
    }
    
    .obaclick-dashboard-container {
        border-radius: 15px;
        margin: 0 5px;
    }
}