body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

#outer {
    max-width: 1200px;
    margin: 24px auto;
    padding: 16px 18px 16px 24px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

#header_menu {
    width: 100%;
    height: 8px;
    background: #e7176b;
    margin-bottom: 18px;
    border-radius: 3px 3px 0 0;
}

#main-layout {
    display: flex;
    gap: 24px;
}

#main-content {
    flex: 1 1 0%;
    min-width: 0;
    padding-left: 8px;
}

#nav {
    width: 180px;
    background: #f5f5f5;
    border-radius: 8px;
    padding: 24px 18px 24px 18px;
    font-size: 1em;
    margin-top: 1.5em;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    margin-left: 0;
}
#nav h1, #nav h2, #nav h3 {
    color: #1a7ec7;
    font-family: 'Trebuchet MS', Arial, sans-serif;
    margin: 1.2em 0 0.5em 0;
    font-weight: bold;
    font-size: 1.1em;
    letter-spacing: 0.5px;
    background: none;
    border: none;
    padding: 0;
}
#nav h1 {
    font-size: 1.18em;
    color: #2176ae;
    font-weight: bold;
    margin-top: 2.2em;
    margin-bottom: 0.7em;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 0.3em;
    background: none;
    letter-spacing: 0.5px;
}
#nav h1:first-child {
    margin-top: 0;
}
#nav a {
    color: #2176ae;
    text-decoration: none;
    font-weight: normal;
    display: block;
    margin: 0.12em 0 0.12em 0.12em;
    font-size: 1em;
    padding: 0;
    border: none;
    background: none;
    transition: color 0.2s;
}
#nav a:hover {
    text-decoration: underline;
    color: #e7176b;
}
#nav h2, #nav h3 {
    font-size: 1em;
    margin-left: 0.4em;
    margin-bottom: 0.1em;
    margin-top: 0.5em;
    font-weight: normal;
    color: #3a3a3a;
    border: none;
    padding: 0;
    background: none;
}
#nav h3 {
    font-size: 0.97em;
    color: #888;
    margin-left: 1em;
}

h1, h2, h3 {
    font-family: 'Trebuchet MS', Arial, sans-serif;
    color: #1a7ec7;
    margin-top: 1.2em;
    margin-bottom: 0.5em;
}
h1 {
    font-size: 2em;
}
h2 {
    font-size: 1.4em;
}
h3 {
    font-size: 1.1em;
}

#main-content a {
    color: #e7176b;
    text-decoration: none;
    font-weight: bold;
}
#main-content a:hover {
    text-decoration: underline;
}

#header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.2em;
    margin-top: 0.2em;
}
#header_logo {
    margin: 0;
}
#header_logo h1 {
    font-family: 'Trebuchet MS', Arial, sans-serif;
    font-size: 1.5em;
    font-weight: bold;
    background: #333;
    color: #fff;
    padding: 0.18em 0.7em;
    border-radius: 4px;
    margin: 0;
    letter-spacing: -1px;
    box-shadow: 1px 2px 6px rgba(0,0,0,0.08);
}
#header_logo h1 a {
    color: #fff;
    text-decoration: none;
}
#main-menu {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
#main-menu p {
    margin: 0;
}
#main-menu a {
    color: #e7176b;
    text-decoration: none;
    font-weight: bold;
    margin-left: 22px;
    font-family: 'Trebuchet MS', Arial, sans-serif;
    font-size: 1.08em;
    transition: color 0.2s;
}
#main-menu a:first-child {
    margin-left: 0;
}
#main-menu a:hover, #main-menu a.current {
    color: #2176ae;
    text-decoration: underline;
}

#slogan {
    color: #888;
    font-size: 1em;
    margin-bottom: 1.5em;
    margin-top: 0.2em;
    font-style: italic;
    font-family: 'Trebuchet MS', Arial, sans-serif;
}

/* Fieldset moderne avec emoji */
.modern-fieldset {
  border: 1.5px solid #bdbdbd;
  border-radius: 8px;
  margin-bottom: 2em;
  padding: 1.2em 1.5em 1.5em 1.5em;
  background: #fafbfc;
}
.modern-fieldset legend {
  display: flex;
  align-items: center;
  font-size: 1.15em;
  font-weight: bold;
  color: #2176ae;
  gap: 0.6em;
  padding: 0 0.5em;
}
.modern-fieldset .icon {
  font-size: 2em;
  line-height: 1;
  color: #e7176b;
}

.modern-footer {
  margin-top: 2em;
  padding: 0.7em 0 0.5em 0;
  text-align: left;
  font-size: 0.85em;
  color: #888;
  border-top: 1px solid #e0e0e0;
  background: transparent;
}
.modern-footer h1 {
  font-size: 1.05em;
  color: #2176ae;
  margin: 0.2em 0 0.2em 0;
  font-weight: bold;
}
.modern-footer p {
  margin: 0.2em 0 0.2em 0;
  line-height: 1.5;
  font-size: 0.97em;
}
.modern-footer a {
  color: #e7176b;
  text-decoration: none;
  margin: 0 0.3em;
  font-weight: bold;
  transition: color 0.2s;
  font-size: 1em;
}
.modern-footer a:hover {
  color: #2176ae;
  text-decoration: underline;
}
