* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    padding: 40px;
    max-width: 500px;
    width: 100%;
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    font-size: 28px;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.options label {
    display: flex;
    align-items: center;
    color: #555;
    cursor: pointer;
}

.options input[type="checkbox"] {
    margin-right: 10px;
    cursor: pointer;
}

.mdp-length {
    margin-bottom: 20px;
}

.mdp-length label {
    display: block;
    color: #555;
    margin-bottom: 8px;
}

.mdp-length input[type="range"] {
    width: 100%;
    cursor: pointer;
}

button[btn-generate] {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 20px;
    transition: transform 0.2s, box-shadow 0.2s;
}

button[btn-generate]:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

button[btn-generate]:active {
    transform: translateY(0);
}

.mdp-groupe {
    margin-bottom: 20px;
}

.mdp-groupe input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 16px;
    font-family: 'Courier New', monospace;
    background-color: #f9f9f9;
    word-break: break-all;
}

.mdp-groupe input:focus {
    outline: none;
    border-color: #667eea;
}

.indicator-container {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    justify-content: center;
}

.indicator {
    width: 30px;
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.indicator.active {
    background-color: #667eea;
}

#petit.active {
    background-color: #ff6b6b;
}

#moyen.active {
    background-color: #ffd93d;
}

#long.active {
    background-color: #6bcf7f;
}

.copy {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.copy:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.copy:active {
    transform: translateY(0);
}

ion-icon {
    font-size: 20px;
}