body {
    font-family: Arial, sans-serif;
    background-color: #121212;
    color: #e0e0e0;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.header {
    width: 100%;
    background-color: #1e1e1e;
    padding: 10px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    position: absolute;
    top: 0;
    left: 0;
}

.logo-container {
    display: flex;
    align-items: center;
    padding-left: 20px;
}

.logo-image {
    width: 50px;
    margin-right: 15px;
}

.header h1 {
    color: #e0e0e0;
    font-size: 24px;
    margin: 0;
}

.container {
    background-color: #1e1e1e;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 100%;
    margin-top: 120px;
}

h2 {
    text-align: center;
    color: #f0f0f0;
}

input[type="password"], input[type="text"], button, input[type="range"], input[type="checkbox"] {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #333;
    border-radius: 5px;
    background-color: #2c2c2c;
    color: #e0e0e0;
}

.password-container {
    position: relative;
}

.password-container input[type="password"] {
    padding-right: 40px;
}

.toggle-eye {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    width: 24px;
    height: 24px;
}

.eye-icon {
    width: 24px;
    height: 24px;
    fill: #e0e0e0;
}

.hidden {
    display: none;
}

.strength {
    text-align: center;
    margin-top: 10px;
}

.generate-btn {
    background-color: #28a745;
    color: #fff;
    border: none;
    cursor: pointer;
}

.generate-btn:hover {
    background-color: #218838;
}

.weak {
    color: red;
}

.medium {
    color: orange;
}

.strong {
    color: green;
}

.slider-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.slider-label {
    width: 100px;
    text-align: center;
}
