body{
    background-color: #fcfbf9;
    font-family: 'Montserrat', sans-serif;
}

a {
    text-decoration: none;
    color: #2e3473;
}

.nav-link {
    color: #2e3473;
}

h1, h2, h3, label, input, button {
    font-family: 'Montserrat', sans-serif;
}

h1 {
    color: #2e3473;
}

h2 {
    color: #2e3473;
}

.btn-home {
    min-width: 160px;
}

@media (min-width: 768px) {
    .onlyMobile{
        display: none;
    }
}

@media (max-width: 768px) {
    .onlyPc{
        display: none;
    }
}

.btn {
    background-color: #2e3473;
    color: #fff;
    border: 2px solid #2e3473;
    padding: 0.5rem 1.2rem;
    border-radius: 0.25rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #1d224f;
    border-color: #1d224f;
    color: #fff;
}

.btn-outline {
    background-color: transparent;
    color: #2e3473;
    border: 2px solid #2e3473;
    padding: 0.5rem 1.2rem;
    border-radius: 0.25rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-outline-rouge {
    background-color: transparent;
    border: 2px solid #FF0000;
    padding: 0.5rem 1.2rem;
    border-radius: 0.25rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: #2e3473;
    color: #fff;
}


/* inscription */

/* Formulaire d'inscription */

.cee-form .form-group {
    margin-bottom: 1rem;
}

.cee-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.3rem;
    color: #2e3473;
}

.cee-form input[type="text"],
.cee-form input[type="email"],
.cee-form input[type="password"] {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.cee-form .form-check {
    margin-top: 1rem;
    font-size: 0.95rem;
}

.cee-form .form-check-input {
    margin-right: 0.5rem;
}

.cee-form .form-check-label a {
    color: #2e3473;
    text-decoration: underline;
}

.cee-form button {
    margin-top: 2rem;
    padding: 0.6rem 1.5rem;
}

/* dashboard */
.dashboard-wrapper {
    min-height: 100vh;
}

.sidebar {
    width: 220px;
    background-color: #2e3473;
    color: white;
    padding: 2rem 1rem;
}

.sidebar .nav li {
    list-style: none;
    margin-bottom: 1rem;
}

.sidebar .nav a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
}

.sidebar .nav a:hover {
    background-color: #1d224f;
}

.topbar {
    background-color: white;
    border-bottom: 1px solid #ddd;
}

@media (max-width: 768px) {
    .dashboard-wrapper {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }
}

/* ajout dossier */
.dossier-title {
    font-weight: 600;
    color: #2e3473;
}

.dossier-section {
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: #2e3473;
}

.dossier-field {
    margin-bottom: 1.2rem;
}

.dossier-field label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 500;
}

.dossier-field input,
.dossier-field select,
.dossier-field textarea {
    width: 100%;
    padding: 0.45rem 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.dossier-submit {
    background-color: #2e3473;
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    border: none;
}

.dossier-submit:hover {
    background-color: #1e254f;
}

.icon-action {
    width: 20px;
    height: auto;
    vertical-align: middle;
    transition: transform 0.2s ease;
    cursor: pointer;
}

.icon-action:hover {
    transform: scale(1.2);
}

/* dashboard cards */
.card-dashboard {
    color: white;
    height: 100%;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    border: none;
}

.card-dashboard.green {
    background-color: #4F9B57;
}

.card-dashboard.blue {
    background-color: #313D65;
}

.card-dashboard.white {
    background-color: white;
    color: black;
}

.card-dashboard.orange {
    background-color: #F59E0B;
    color: #ffffff;
}

.card-dashboard.grey {
    background-color: #6B7280;
    color: #ffffff;
}

.card-dashboard .card-footer {
    background-color: transparent;
    border-top: none;
    font-size: 0.9rem;
    text-align: right;
}

/* Case à cocher téléphone identique */
.same-phone-checkbox-wrapper {
    display: flex;
    align-items: center;
    width: auto;
    margin-top: 0.5rem;
}

.same-phone-checkbox-wrapper .form-check-input {
    width: 10px;
    height: 10px;
    min-width: 10px;
    margin-right: 0.5rem;
    cursor: pointer;
}

.same-phone-checkbox-wrapper .form-check-label {
    cursor: pointer;
    user-select: none;
    margin-bottom: 0;
    font-size: 0.875rem;
}
