/* MorninGov Custom Styles */

/* Welcome Card - Seção azul com imagem de fundo */
.welcome-card {
    background: linear-gradient(90deg, #0d51c1 0%, #22c38e 100%),
                url("../img/morningov_backdrop.a5913ff0f6d9.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    border-radius: 15px;
    overflow: hidden;
}

.welcome-card .card-body {
    position: relative;
    z-index: 2;
}

/* Stats styling */
.stat-item h4 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.stat-item small {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Header & Navigation */
header {
    background: #ffffff;
    border-bottom: 1px solid #e6eff7;
}

.brand-gradient {
    background: linear-gradient(90deg, #0d51c1 0%, #22c38e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.navbar-left .nav {
    margin-left: 1rem;
}

.nav .nav-link {
    color: #4a5568;
}

.nav .nav-link:hover {
    color: #2d3748;
}

.nav .nav-link.active {
    background: #e6fff1;
    border: 1px solid #48bb78;
    color: #276749;
}

/* Quick actions */
.quick-actions .btn {
    border-radius: 8px;
    font-weight: 500;
}

/* Floating Action Button */
.floating-action-menu {
    z-index: 1050;
}

.fab-main-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.fab-main-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.fab-menu-item {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.fab-menu-item:hover {
    transform: scale(1.1) translateY(0);
    background-color: #f8f9fa;
}

/* Animation for floating menu */
.floating-action-menu:hover .fab-menu-item {
    opacity: 1;
    transform: translateY(0);
}

.floating-action-menu:hover .fab-menu-item:nth-child(1) {
    transition-delay: 0.1s;
}

.floating-action-menu:hover .fab-menu-item:nth-child(2) {
    transition-delay: 0.2s;
}

.floating-action-menu:hover .fab-menu-item:nth-child(3) {
    transition-delay: 0.3s;
}

.floating-action-menu:hover .fab-menu-item:nth-child(4) {
    transition-delay: 0.4s;
}

/* Cards and sections */
.card {
    border-radius: 12px;
    transition: all 0.3s ease;
}

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

/* Activity and news sections */
.activity-item, .news-item {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    transition: background-color 0.3s ease;
}

.activity-item:hover, .news-item:hover {
    background-color: #f8f9fa;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .welcome-card .card-body {
        padding: 2rem 1rem;
    }
    
    .stat-item h4 {
        font-size: 2rem;
    }
    
    .fab-main-btn {
        width: 50px;
        height: 50px;
    }
    
    .fab-menu-item {
        width: 40px;
        height: 40px;
    }
}

/* Modal customizations */
.modal-content {
    border-radius: 15px;
}

.modal-header {
    border-radius: 15px 15px 0 0;
}

/* Form styling */
.form-control {
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #3490dc;
    box-shadow: 0 0 0 0.2rem rgba(52, 144, 220, 0.25);
}

/* Button styling */
.btn {
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #3490dc;
    border-color: #3490dc;
}

.btn-primary:hover {
    background-color: #2779bd;
    border-color: #2779bd;
    transform: translateY(-1px);
}

/* New Meeting Modal styles */
.meeting-gradient {
    background: linear-gradient(90deg, #0d51c1 0%, #22c38e 100%);
    border-bottom: none;
}

.section-card {
    border-top: 3px solid #22c38e;
    border-bottom: 1px solid #e6eff7;
    background: #ffffff;
}

.section-card h6 {
    color: #2d3748;
    font-weight: 600;
}

.input-group-text {
    color: #4a5568;
    border-color: #e2e8f0;
}

.modal-content {
    border-radius: 14px;
    overflow: hidden;
}

/* Menu Responsivo - Hambúrguer */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler:hover {
    background-color: #f8f9fa;
}

/* Menu Mobile */
#mobileNavbar {
    animation: slideDown 0.3s ease-out;
}

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

#mobileNavbar .card {
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

#mobileNavbar .list-group-item {
    border: none;
    padding: 1rem 1.5rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

#mobileNavbar .list-group-item:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
}

#mobileNavbar .list-group-item.active {
    background: linear-gradient(90deg, #0d51c1 0%, #22c38e 100%);
    color: white;
    border-left: 4px solid #22c38e;
}

#mobileNavbar .list-group-item.active i {
    color: white;
}

#mobileNavbar .list-group-item i {
    color: #6c757d;
    width: 20px;
    text-align: center;
}

/* Seção do usuário no menu mobile */
#mobileNavbar .bg-light {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
}

#mobileNavbar .btn-outline-danger {
    border-radius: 20px;
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
}

#mobileNavbar .btn-primary {
    border-radius: 20px;
    background: linear-gradient(90deg, #0d51c1 0%, #22c38e 100%);
    border: none;
}

#mobileNavbar .btn-primary:hover {
    background: linear-gradient(90deg, #0a4298 0%, #1ba472 100%);
    transform: translateY(-1px);
}

/* Responsividade adicional */
@media (max-width: 991.98px) {
    .navbar-left .nav {
        display: none !important;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (max-width: 576px) {
    header .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    .brand-gradient {
        font-size: 1.1rem !important;
    }
    
    #mobileNavbar .list-group-item {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }
}