/* Import de la police Roboto depuis Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
}

.container {
    font-family: 'Roboto', sans-serif;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.password-container {
    margin-top: 20px;
}

h1 {
    font-family: 'Roboto', sans-serif;
}

#password {
    width: 300px;
    padding: 10px;
    font-size: 16px;
    text-align: center;
}

button {
    padding: 10px;
    cursor: pointer;
    background-color: #3498db;
    color: #fff;
    border: none;
    font-size: 16px;
}

.copy-icon {
    display: inline-block;
    width: 20px;
    height: 16px;
    background: url('https://www.marouze.com/GAMES/PASSWORD/copy_icon_128x128.png') no-repeat center center;
    background-size: 16px 16px;
    margin-right: 5px;
}

.chbox {
    display: flex;
    align-items: center;
    margin-top: 25px;
}

.chbox select {
    margin-left: 10px;
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
    border: 1px solid #3498db;
    background-color: #fff;
    color: #333;
}

.chbox select:hover {
    background-color: #f0f0f0;
}

.chbox select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
}

#Length {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 25px;
    margin-bottom: 25px;
}

#Length select {
    margin-left: 10px;
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
    border: 1px solid #3498db;
    background-color: #fff;
    color: #333;
}

#Length select:hover {
    background-color: #f0f0f0;
}

#Length select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
}

#copyButton.copied {
    background-color: #4CAF50;
    color: #fff;
}

#copyButton.copied .copy-icon {
    visibility: visible;
}

/* Styles pour les niveaux de force du mot de passe */
#passwordStrength.weak,
#passwordStrength.very-weak {
    color: #e74c3c; /* Rouge pour "very weak" et "weak" */
}

#passwordStrength.medium {
    color: #e67e22; /* Orange pour "medium" */
}

#passwordStrength.strong,
#passwordStrength.very-strong {
    color: #2ecc71; /* Vert pour "strong" et "very strong" */
}

.password-strength-container,
.crack-time-container {
      font-size: 16px;
    display: flex;
    justify-content: space-between;
    text-align: left;
    align-items: center;
    flex-wrap: wrap;
}

.password-strength-container h5,
.crack-time-container h5 {
    font-size: 16px;
    margin: 0;
    text-align: right;
    align-items: center;
    width: 48%;
    margin-bottom: 20px;
}

.password-strength-container .left,
.crack-time-container .left {
    font-size: 16px;
    width: 48%;
    margin-bottom: 20px;
    text-align: left; 
}

.realist {
  margin-bottom: 200px;
}