/* Stile base per bottoni RHAM pieni */
.rham:not(.btn-outline-primary):not(.btn-outline-danger) {
    background-color: rgba(172,39,86,1) !important;
    border-color: rgba(172,39,86,1) !important;
    color: #fff !important;
}

/* Stile hover per bottoni RHAM pieni */
.rham:not(.btn-outline-primary):not(.btn-outline-danger):hover,
.rham:not(.btn-outline-primary):not(.btn-outline-danger):focus {
    background-color: rgba(122,19,56,1) !important;
    border-color: rgba(122,19,56,1) !important;
    color: #fff !important;
}

/* Stile per il tag a di default */
a {
    color: rgba(122,19,56,1);
    text-decoration: underline;
}

/* Stile hover per il tag a */
a:hover,
a:focus {
    color: rgba(90,10,40,1);
    text-decoration: underline;
}
.btn-outline-primary.rham {
    color: rgba(172,39,86,1) !important;
    border-color: rgba(172,39,86,1) !important;
    background-color: transparent !important;
}

/* Stile hover per bottoni RHAM outline */
.btn-outline-primary.rham:hover,
.btn-outline-primary.rham:focus {
    color: #fff !important;
    background-color: rgba(172,39,86,1) !important;
    border-color: rgba(172,39,86,1) !important;
}

/* Stile per testo con colore RHAM */
.text-rham {
    color: rgba(172,39,86,1) !important;
}

body {
    background: #f8fafc;
}



.container {
    max-width: 700px;
}
.servizi-list li {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}
.card {
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

/* Notifiche balloon */
.notifications-container {
    position: relative;
    display: inline-block;
}

.notification-bell {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.notification-bell:hover {
    transform: scale(1.1);
}

.notification-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #dc3545;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 11px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    animation: pulse 2s infinite;
}

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

.notifications-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    width: 320px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    margin-top: 5px;
}

.notifications-dropdown.show {
    display: block;
}

.notification-header {
    padding: 12px 16px;
    border-bottom: 1px solid #dee2e6;
    background: #f8f9fa;
    border-radius: 0.5rem 0.5rem 0 0;
    font-weight: 600;
    color: #495057;
}

.notification-item {
    padding: 12px 16px;
    border-bottom: 1px solid #f1f3f4;
    transition: background-color 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.notification-item:hover {
    background-color: #f8f9fa;
    text-decoration: none;
    color: inherit;
}

.notification-item:last-child {
    border-bottom: none;
    border-radius: 0 0 0.5rem 0.5rem;
}

.notification-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
}

.notification-icon.warning {
    background-color: #fff3cd;
    color: #856404;
}

.notification-icon.info {
    background-color: #d1ecf1;
    color: #0c5460;
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 2px;
    color: #495057;
}

.notification-message {
    font-size: 13px;
    color: #6c757d;
    line-height: 1.3;
}

.notification-badge-small {
    background-color: #dc3545;
    color: white;
    border-radius: 10px;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: bold;
    margin-left: 8px;
}

.notifications-empty {
    padding: 20px;
    text-align: center;
    color: #6c757d;
    font-style: italic;
}

.notification-item {
    display: flex;
    align-items: flex-start;
}
