* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 100%;
    max-width: 500px;
}

h1 {
    color: #333;
    margin-bottom: 25px;
    text-align: center;
}

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

label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: bold;
}

input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

input[type="password"]:focus {
    border-color: #4a90e2;
    outline: none;
}

.strength-container {
    margin-bottom: 25px;
}

.entropy-display {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
    color: #555;
}

.strength-meter {
    height: 8px;
    background-color: #eee;
    border-radius: 4px;
    overflow: hidden;
}

#strength-bar {
    height: 100%;
    width: 0;
    transition: width 0.3s, background-color 0.3s;
    background-color: #e74c3c;
}

#thank-you-message {
    background-color: #4a90e2;
    color: white;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    opacity: 1;
    transition: opacity 0.5s;
}

.hidden {
    opacity: 0;
    height: 0;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden;
}

.info-box {
    background-color: #f8f9fa;
    border-left: 4px solid #4a90e2;
    padding: 15px;
    margin-top: 20px;
    border-radius: 4px;
}

.info-box p {
    color: #555;
    margin-bottom: 8px;
    font-size: 14px;
}

.info-box p:last-child {
    margin-bottom: 0;
}

/* Strength colors */
.very-weak {
    background-color: #e74c3c !important; /* Red */
}

.weak {
    background-color: #e67e22 !important; /* Orange */
}

.medium {
    background-color: #f1c40f !important; /* Yellow */
}

.strong {
    background-color: #2ecc71 !important; /* Green */
}

.very-strong {
    background-color: #27ae60 !important; /* Dark Green */
}
