
section {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 0;
}

#reco, #deco {
    margin: 0 1em 0 0em;
    width: 100%;
    border-left: 5px solid #ea1f1f; /* rouge */
    background-color: rgba(234, 31, 31, 0.05); /* rouge pâle */
    padding: 1em;
    border-radius: 0 10px 10px 0;
}

#reco {
    border-left: 5px solid #00ff1e; /* vert */
    background-color: rgba(0, 255, 30, 0.05); /* vert pâle */
}

h2 {
    color: white;
    text-decoration: none;
    font-size: 1.3em;
    text-align: center;
    font-weight: 300;
    margin: 0;
    min-width: 2.2em;
    height: 2.2em;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    margin-bottom: 1em;
    line-height: 2.2em;
}

span.green {
    color: #00ff1e;
    font-weight: 600;
}

span.red {
    color: #ea1f1f;
    font-weight: 600;
}

.image_game {
    border: 2px solid rgb(255 255 255 / 75%);
    border-radius: 15px;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
}

li.game {
    list-style-type: none;
    display: flex;
    flex-direction: row;
}

.image, .content {
    width: 50%;
}

h3.game_name {
    color: #ffffff;
    font-weight: 500;
    font-size: 1.1em;
}

.content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 1em;
}

.n_heyar, .n_commu {
    color: rgb(255 255 255 / 75%);
    font-weight: 200;
    font-size: 1em;
}

ul.games > span.separation:last-child {
    display: none;
}

.note_heyar, .note_commu {
    display: flex;
    align-items: center;
}

.note_heyar img, .note_commu img {
    margin-right: 0.5em;
}

.note_heyar, .note_commu {
    color: white;
}

.content a {
    color: rgb(255 255 255 / 50%);
    font-weight: 300;
    font-size: 0.8em;
    margin-left: 0.5em;
    text-decoration: auto;
}

span.creation_date {
    color: rgb(255 255 255 / 50%);
    font-weight: 200;
    font-size: 0.8em;
}

span.creation_date > span {
    text-transform: capitalize;
}

h3.game_name {
    margin: 0;
}

li.game {
    margin-top: 1em;
}

span.separation {
    width: calc(100% - 4em);
    background: rgb(255 255 255 / 25%);
    height: 1px;
    display: block;
    margin-left: 2em;
    margin-top: 1em;
    margin-bottom: 1em;
}

.pagination {
    color: white;
    list-style-type: none;
    display: flex;
    margin-top: 1em;
    justify-content: flex-end;
    gap: 0.3em;
}

.pagination li {
    margin: 0;
    min-width: 2.2em;
    height: 2.2em;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 0.9em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.pagination li::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s;
}

.pagination li:hover:not([style*="pointer-events: none"])::before {
    left: 100%;
}

.pagination li:hover:not([style*="pointer-events: none"]) {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.pagination li:active:not([style*="pointer-events: none"]) {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.pagination li[style*="pointer-events: none"],
.pagination li.pagination-dots {
    border: none;
    background: none;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
    letter-spacing: 2px;
    transform: none !important;
    box-shadow: none !important;
    cursor: default;
}

li.active_reco {
    color: #00ff1e;
    border-color: #00ff1e;
    background: rgba(0, 255, 30, 0.15);
    box-shadow: 0 0 20px rgba(0, 255, 30, 0.3);
    font-weight: 600;
}

li.active_reco:hover {
    background: rgba(0, 255, 30, 0.25);
    box-shadow: 0 0 25px rgba(0, 255, 30, 0.4), 0 4px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

li.active_deco {
    color: #ea1f1f;
    border-color: #ea1f1f;
    background: rgba(234, 31, 31, 0.15);
    box-shadow: 0 0 20px rgba(234, 31, 31, 0.3);
    font-weight: 600;
}

li.active_deco:hover {
    background: rgba(234, 31, 31, 0.25);
    box-shadow: 0 0 25px rgba(234, 31, 31, 0.4), 0 4px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

input#recherche {
    border: none;
    background: none;    
    color: rgb(255 255 255 / 75%);
    text-decoration: none;
    font-size: 1em;
    text-align: right;
    font-weight: 300;
}

.pre-list {
    display: flex;
    justify-content: space-between;
}

ul {
    margin: 0;
    padding: 0;
}

input#recherche:focus-visible {
    outline: none;
}

::placeholder {
    color: rgb(255 255 255 / 75%);
}

::-ms-input-placeholder { /* Edge 12-18 */
    color: rgb(255 255 255 / 75%);
}

select {
    background: #0e0e10;
    color: rgb(255 255 255 / 75%);
    font-size: 1em;
    border: none;
    outline: none;
    -moz-appearance:none; /* Firefox */
    -webkit-appearance:none; /* Safari and Chrome */
    appearance:none;
    cursor: pointer;
    padding: 0.5em;
    border-radius: 10px;
    margin-left: 10px;
}

img.btn_tri {
    width: 17px;
    height: 9px;
}

.tri_div {
    display: flex;
    align-items: center;
}

@media (max-width: 1100px) {
    section {
        flex-direction: column;
    }
    #reco, #deco {
        margin: 0;
    }
}

input#recherche-reco, input#recherche-deco {
    border: none;
    background: none;
    color: rgb(255 255 255 / 75%);
    text-decoration: none;
    font-size: 1em;
    text-align: left;
    font-weight: 300;
    background: #0e0e10;
    border-radius: 10px;
    padding-left: 10px;
}
#recherche-reco:focus,
#recherche-deco:focus {
  outline: none;
  box-shadow: none;
}

.circular-chart {
  width: 30px;
  height: 30px;
}
.circle-bg {
  fill: none;
  stroke: rgb(255 255 255 / 25%);
  stroke-width: 1px;
}
.circle {
  fill: none;
  stroke-width: 4px;
  stroke-linecap: round;
}
.percentage {
  fill: white;
  font-size: 0.5em;
  opacity: 0;
  text-anchor: middle;
  dominant-baseline: middle;
}
.circular-rating {
  display: inline-block;
}
.note_style {
    display: flex;
    align-content: center;
}

.note_heyar, .note_commu {
    margin-left: 10px;
    font-weight: 500;
    line-height: 34px;
}
.circular-rating {
    margin-top: 4px;
}
li.no-results {
    list-style: none;
    color: white;
    padding: 20px;
}