/**
 * Stili personalizzati per Regata App
 */

/* Stili generali */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    flex: 1;
}

footer {
    margin-top: auto;
}

/* Stili per la navbar */
.navbar-brand {
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Stili per le icone funzionalità (feature) */
.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    font-size: 2rem;
}

/* Stili per la scheda profilo */
.profile-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 5px solid #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.profile-placeholder {
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #6c757d;
    color: white;
    font-size: 3rem;
    border-radius: 50%;
}

.avatar-small {
    width: 32px;
    height: 32px;
    object-fit: cover;
}

/* Stili per il calendario */
.fc-event {
    cursor: pointer;
}

.fc-event-title {
    font-weight: 500;
}

.calendar-container {
    height: 650px;
}

/* Stili per card */
.card-hover:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Stili per gli annunci */
.announcement-card {
    border-left: 4px solid #0d6efd;
}

.announcement-card.accepted {
    border-left-color: #198754;
}

.announcement-card.rejected {
    border-left-color: #dc3545;
}

.announcement-card.pending {
    border-left-color: #ffc107;
}

/* Badge livelli */
.badge-principiante {
    background-color: #28a745;
}

.badge-intermedio {
    background-color: #007bff;
}

.badge-avanzato {
    background-color: #6f42c1;
}

.badge-esperto {
    background-color: #dc3545;
}
.badge {
    --bs-badge-border-radius: 20px;
    padding: 7px;
}
/* Stili per le notifiche */
.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    border-radius: 50%;
    background-color: #dc3545;
    color: white;
    width: 18px;
    height: 18px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Stili per form */
.required-field:after {
    content: "*";
    color: #dc3545;
    margin-left: 2px;
}

/* Stili responsive */
@media (max-width: 767.98px) {
    .calendar-container {
        height: 500px;
    }
    
    .fc .fc-toolbar {
        flex-direction: column;
        gap: 10px;
    }
    
    .profile-image, .profile-placeholder {
        width: 100px;
        height: 100px;
    }
}
.card-header {

    background-color: rgb(207 226 245 / 3%);
    border-bottom: var(--bs-card-border-width) solid rgb(255 255 255 / 18%);
}
.card {
    --bs-card-border-color: rgb(150 147 147 / 18%);
}
.list-group-item {
    border: var(--bs-list-group-border-width) solid #e8e8e8;
}
.bg-primary {
    --bs-bg-opacity: 1;
    background-color:  #474747 !important;
}
.bg-primary-adnvance {
    --bs-bg-opacity: 1;
    background-color:  #3a8dc4 !important;
}
.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #474747;
    --bs-btn-border-color: #474747;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #474747;
    --bs-btn-hover-border-color: #474747;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #0a58ca;
    --bs-btn-active-border-color: #0a53be;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #474747;
    --bs-btn-disabled-border-color: #474747;
}
.bg-info {
    --bs-bg-opacity: 1;
    background-color: rgb(28 124 143) !important;
}
.navbar {
    min-height: 80px;
    padding-bottom: 20px;
}
.navbar-collapse {
    padding-top: 15px;
}