﻿/* ==============================================================
   GitHub — Dashboard, Mobile, Paramètres, Erreur
   ============================================================== */
/* GitHub Mobile */
.GitHub-mobile {
  display: none;
}
@media screen and (max-width: 768px) {
  .GitHub {
    display: none;
  }
  .GitHub-mobile {
    display: block;
    width: 92%;
    background-color: var(--color-bg);
    margin: 20px auto 50px;
    border-radius: var(--radius-panel);
    color: white;
    padding: 15px;
  }
  .mobile-repo-select {
    width: 100%;
    background-color: var(--color-bg);
    color: white;
    border: 2px solid var(--color-primary-btn);
    border-radius: var(--radius-card);
    padding: 10px 36px 10px 12px;
    font-size: 15px;
    margin-bottom: 15px;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    cursor: pointer;
  }
  .mobile-repo-select option {
    background-color: #222;
    color: white;
    border: 2px solid var(--color-primary-btn);
  }
  .mobile-commits-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    color: white;
  }
  .mobile-commits-table th {
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 6px;
    font-size: 12px;
    color: rgba(180, 180, 180, 1);
  }
  .mobile-commits-table td {
    padding: 8px 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    vertical-align: top;
  }
  .mobile-commit-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
    max-width: 80px;
  }
  .mobile-commit-author img {
    width: 32px;
    border-radius: 50%;
    cursor: pointer;
    margin-bottom: 4px;
  }
  .mobile-commit-author span {
    font-size: 10px;
    text-align: center;
    word-break: break-all;
  }
  .mobile-commit-date {
    white-space: nowrap;
    font-size: 11px;
    color: rgba(180, 180, 180, 1);
    min-width: 60px;
  }
}
/* Paramètres */
img.icone-git-user-params{
  width: 40px;
  margin-left: 15px;
  cursor: pointer;
}
.parametres-accueil {
  max-width: 40%;
}
.GitHubParamsContent {
  width: 194px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 15px;
  border: 1px solid white;
  border-radius: var(--radius-card);
  padding: 15px;
  background-color: var(--color-bg);
}

@media screen and (max-width: 600px){
  .GitHubParamsContent {
    width: 100%;
  }
}
.git-user-header {
  display: flex;
  margin-bottom: 10px;
  justify-content: space-between;
  align-items: center;
}
.git-user-informations {
  min-width: 110px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.git-bio{
  font-size: small;
}
p.git-name {
  font-size: 12px;
  color: rgba(151, 151, 151);
}
.git-company {
  margin-top: 5px;
  margin-bottom: 5px;
}
.git-divers-data {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
/* Erreur */
.error-div {
  margin-left: auto;
  margin-right: auto;
}