﻿


.card {
    background-color: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    width: 100%;
    max-width: 600px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.card-title {
    color: #101828;
    font-size: 2.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
    display: flex; /* Utilisation de Flexbox pour l'alignement */
    flex-direction: column; /* Inversion du sens du flux pour les écrans étroits */
    align-items: flex-start; /* Alignement au début sur les écrans étroits */
}

@media (min-width: 576px) {
    .form-group {
        flex-direction: row; /* Rétablissement de l'alignement horizontal sur les écrans plus larges */
        align-items: center; /* Alignement vertical sur les écrans plus larges */
    }

    .form-label {
        margin-bottom: 0;
        padding-right: 1rem;
        flex: 0 0 30%;
        max-width: 50%;
        text-align: left;
    }

    .form-control {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

.form-label {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-control {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    line-height: 1.5rem;
    border-radius: 0.375rem;
    border: 1px solid #d1d5db;
    outline: none;
    transition: border-color 0.2s ease-in-out, shadow-sm 0.2s ease-in-out;
}

    .form-control:focus {
        border-color: #3b82f6;
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
    }

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.375rem;
    color: #ffffff;
    background-color: #3b82f6;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out, transform 0.2s ease-in-out;
    width: 100%;
}

    .btn-primary:hover {
        background-color: #2563eb;
        transform: translateY(-1px);
    }

    .btn-primary:disabled {
        background-color: #9ca3af;
        cursor: not-allowed;
        transform: none;
    }

.text-danger {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.form-check-input {
    width: 1rem;
    height: 1rem;
    margin-top: 0;
    margin-right: 0.5rem;
    border-radius: 0.25rem;
    border: 1px solid #d1d5db;
    cursor: pointer;
    transition: border-color 0.2s ease-in-out, shadow-sm 0.2s ease-in-out;
}

    .form-check-input:focus {
        border-color: #3b82f6;
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
    }

    .form-check-input:checked {
        background-color: #3b82f6;
        border-color: #3b82f6;
    }

.form-check-label {
    font-size: 1rem;
    color: #374151;
    user-select: none;
}


