/* Estilos Gerais */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #f8f9fa;
}

.footer {
    margin-top: auto;
}

/* Formulários */
.form-container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Mapa */
#map {
    height: calc(100vh - 56px);
    width: 100%;
}

.map-container {
    position: relative;
    height: 94vh;
}

.sidebar {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: white;
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    z-index: 1000;
    overflow-y: auto;
}

/* Marcadores do Mapa */
.location-marker {
    border-radius: 50%;
    text-align: center;
    font-weight: bold;
    border: 2px solid #fff;
    box-shadow: 0 0 4px rgba(0,0,0,0.4);
}

/* Cards de Vídeo */
.video-card {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.video-thumbnail {
    position: relative;
    padding-top: 56.25%;
    background: #f8f9fa;
}

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

.video-info {
    padding: 1rem;
}

/* Formulário de Configurações */
.settings-panel {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

/* Responsividade */
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        height: 50%;
        top: 50%;
    }

    #map {
        height: 75vh;
    }
}

/* Estilos da página de login */
.login-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.login-box {
    background: #ffffff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

.login-form .input-group-text {
    background-color: transparent;
    border-right: none;
}

.login-form .form-control {
    /*border-left: none;*/
}

.login-form .form-control:focus {
    box-shadow: none;
    border-color: #ced4da;
}

.login-form .input-group:focus-within {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.login-form .btn-outline-secondary {
    border-left: none;
}

.login-form .btn-outline-secondary:hover {
    background-color: transparent;
    color: #0d6efd;
}

/* Animação de fade-in */
.login-box {
    animation: fadeIn 0.5s ease-in-out;
}

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

/* Responsividade */
@media (max-width: 576px) {
    .login-container {
        padding: 1rem;
    }
    
    .login-box {
        padding: 1.5rem;
    }
}
/* Estilos da Página Inicial */

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(13, 110, 253, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.creator-card {
    transition: transform 0.2s;
}

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

/* Estilos do Dashboard */
.card {
    border: none;
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.card-title {
    color: #333;
    font-weight: 600;
}

/* Estatísticas */
.stats-card h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #0d6efd;
}

.stats-card h6 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsividade */
@media (max-width: 991px) {
    .col-lg-4 {
        margin-top: 2rem;
    }
}

@media (max-width: 767px) {
    
    .cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-buttons .btn {
        margin: 0 !important;
    }

    .card {
        margin-bottom: 1rem;
    }
}

/* Estilos do formulário de login */
.card {
    border: none;
    border-radius: 15px;
}

.card-body {
    padding: 2.5rem;
}

/* Form floating labels */
.form-floating > label {
    padding-left: 1rem;
}

.form-floating > .form-control {
    height: calc(3.5rem + 2px);
    padding: 1rem 0.75rem;
}

/* Botões */
.btn-primary {
    padding: 0.8rem 2rem;
    font-weight: 500;
}

.btn-outline-primary:hover {
    color: #fff;
}

/* Links */
a {
    color: #0d6efd;
}

a:hover {
    color: #0a58ca;
}

/* Ícones */
.bi {
    vertical-align: -0.125em;
}

/* Alertas */
.alert {
    border: none;
    border-radius: 10px;
}

.alert-dismissible .btn-close {
    padding: 1.25rem;
}

/* Recursos do Mapala */
.display-6 {
    font-size: 2.5rem;
}

/* Navbar */
.navbar {
    padding: 0.5rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

.navbar-brand img {
    transition: transform 0.2s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-dark {
    background-color: #1a1a1a !important;
}

.nav-link {
    padding: 0.5rem 1rem !important;
    font-weight: 500;
}

.navbar .btn-primary {
    background-color: #0056b3;
    border-color: #0056b3;
    transition: all 0.2s ease;
}

.navbar .btn-primary:hover {
    background-color: #003d82;
    border-color: #003d82;
    transform: translateY(-1px);
}

/* Formulários */
.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Estilos específicos para o cadastro */
.feature-card {
    padding: 1.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background-color: #f8f9fa;
    transform: translateY(-5px);
}

.form-floating > .form-control {
    height: calc(3.5rem + 2px);
    line-height: 1.25;
}

.form-text {
    font-size: 0.875rem;
    margin-top: 0.25rem;
    color: #6c757d;
}

.form-check-label {
    font-size: 0.9rem;
}

/* Melhorias nos campos de formulário */
.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

/* Responsividade */
@media (max-width: 768px) {
    .card-body {
        padding: 1.5rem !important;
    }
    
    .row {
        margin-left: 0;
        margin-right: 0;
    }
}

/* Estilos gerais */
body {
    background-color: #f8f9fa;
}

/* Estilos do formulário */
.card {
    border: none;
    border-radius: 10px;
}

.card-title {
    color: #333;
    font-weight: 600;
}

.form-label {
    font-weight: 500;
    color: #555;
}

.btn-primary {
    padding: 10px 20px;
    font-weight: 500;
}

/* Estilos das mensagens flash */
.alert {
    border: none;
    border-radius: 8px;
}

.alert-success {
    background-color: #d1e7dd;
    color: #0f5132;
}

.alert-danger {
    background-color: #f8d7da;
    color: #842029;
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Estilos para o dropdown do usuário */
.dropdown-menu {
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,.1);
    border-radius: 8px;
    margin-top: 10px;
}

.dropdown-item {
    padding: 8px 20px;
    font-weight: 500;
}

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

/* Estilo para a foto de perfil no navbar */
.navbar .rounded-circle {
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

@keyframes markerPulse {
    0% {
        transform: scale(1) translate(-50%, -50%);
        opacity: 1;
    }
    50% {
        transform: scale(1.3) translate(-38%, -38%);
        opacity: 0.9;
    }
    100% {
        transform: scale(1) translate(-50%, -50%);
        opacity: 1;
    }
}

.marker-selected {
    animation: markerPulse 1.5s ease-in-out infinite;
    z-index: 1000 !important;
}

.marker-selected .location-marker {
    width: 40px !important;
    height: 40px !important;
}

/* Estilo base do marcador */
.marker {
    width: 32px;
    height: 32px;
    background-color: #FF4136;
    border: 2px solid white;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s ease;
}

/* Animação de pulsação */
@keyframes markerPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 65, 54, 0.7);
    }
    
    50% {
        transform: scale(1.3);
        box-shadow: 0 0 0 10px rgba(255, 65, 54, 0);
    }
    
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 65, 54, 0);
    }
}

/* Classe para o marcador selecionado */
.marker-selected {
    animation: markerPulse 1.5s infinite;
    z-index: 1000 !important;
}

/* Estilos para as estatísticas */
.stats-container {
    border: 1px solid rgba(0,0,0,0.1);
}

.stat-card {
    padding: 1rem;
    transition: transform 0.2s ease;
}

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

.stat-card h5 {
    font-weight: 600;
    color: #2d3436;
}

.stat-card .bi {
    opacity: 0.9;
}

@media (max-width: 768px) {
    .stat-card {
        padding: 0.5rem;
    }
    
    .stat-card h5 {
        font-size: 1rem;
    }
    
    .stat-card .small {
        font-size: 0.75rem;
    }
}

/* Ajuste dos botões na página inicial para mobile */
@media (max-width: 768px) {
    .hero-section .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .hero-section .d-flex.gap-3 {
        flex-direction: column;
        gap: 0.5rem !important;
    }
    
    .hero-section .d-flex.gap-3 .btn {
        width: 100%;
    }
}   