﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */
/* Provide sufficient contrast against white background */

a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
    background: rgb(244, 246, 249) !important;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}


/* Fix minimi per modale Bootstrap */
#form-modal {
    z-index: 1050 !important; /* livello standard */
}

.modal-backdrop {
    z-index: 1040 !important;
}

/* Mantieni il comportamento corretto del body */
body.modal-open {
    overflow: hidden !important;
}

/* Notifiche: campanella e popup */
#notificationBellIcon {
    display: inline-block;
    transform-origin: 50% 0%;
}

#notificationBellIcon.bell-shake {
    animation: bell-shake 0.7s ease-in-out;
}

@keyframes bell-shake {
    0%, 100% { transform: rotate(0); }
    15% { transform: rotate(14deg); }
    30% { transform: rotate(-12deg); }
    45% { transform: rotate(10deg); }
    60% { transform: rotate(-8deg); }
    75% { transform: rotate(4deg); }
    90% { transform: rotate(-2deg); }
}

#notificationsDropdown .dropdown-menu {
    max-width: 420px;
    min-width: 380px;
}

#notificationsDropdown .notification-item {
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
}

#notificationsDropdown .notification-item .notification-title {
    display: block;
}