/* Styles de base */
body {
    font-family: Arial, sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    line-height: 1.6;
}
.logo {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid;
}
h1 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
}
h2 {
    color: #0056b3;
    text-align: center;
    margin-bottom: 25px;
    font-size: 24px;
}
h3 {
    color: #004085;
    margin-top: 20px;
}
.step {
    display: none;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.step.active {
    display: block;
}
.navigation {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid #eee;
}
.error {
    color: #dc3545;
    display: none;
    margin-top: 5px;
    font-size: 14px;
}
.form-group {
    margin-bottom: 20px;
}
label {
    display: block;
    margin-bottom: 8px;
    color: #495057;
    font-weight: 500;
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
textarea,
select {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}
button {
    background-color: #007bff;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.2s;
}
button:hover {
    background-color: #0056b3;
}
.hidden {
    display: none;
}
.patient-info {
    border: 1px solid #eee;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.email-link {
    color: #007bff;
    text-decoration: none;
    transition: color 0.2s;
}
.email-link:hover {
    color: #0056b3;
}

li {
    margin-bottom: 10px;
}

.required {
    color: red;
}

.radio-group {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.radio-group input[type="radio"] {
    margin: 0;
}

.radio-group label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-weight: normal;
    margin: 0;
}

.radio-group-d {
    display: flex;
    margin-bottom: 15px;
    align-items: center;
}

.radio-item-d {
    display: flex;
    align-items: center;
    margin-right: 30px;
}

.radio-item-d input[type="radio"] {
    margin: 0;
    margin-right: 4px;
}

.radio-item-d label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-weight: normal;
    margin: 0;
}

#addrs {
    position: absolute;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    max-height: 200px;
    overflow-y: auto;
    width: 67%;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.addr {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

.addr:hover {
    background-color: #f8f9fa;
}

.addr:last-child {
    border-bottom: none;
}

.motif-consultation-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.motif-consultation-item input[type="checkbox"] {
    margin-right: 10px;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    max-width: 760px;
    text-align: center;
}

.popup-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: space-around;
    width: 100%;
}

.popup-buttons button {
    padding: 10px 15px;
    cursor: pointer;
    margin: 1rem;
    width: 50%;
}