:root {
    --bg-color: #1a1a1a;
    --container-bg: #2d2d2d;
    --text-color: #ffffff;
    --input-bg: #3d3d3d;
    --border-color: #4d4d4d;
    --strength-0: #ff4444;
    --strength-1: #ffbb33;
    --strength-2: #ffeb3b;
    --strength-3: #00C851;
    --strength-4: #007E33;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    background-color: var(--container-bg);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
}

h1 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    font-weight: 600;
}

.password-input-container {
    position: relative;
    margin-bottom: 1.5rem;
}

#passwordInput {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    background-color: var(--input-bg);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-color);
    outline: none;
    transition: border-color 0.3s ease;
}

#passwordInput:focus {
    border-color: var(--strength-3);
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    padding: 5px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.toggle-password:hover {
    opacity: 1;
}

.suggest-password-btn {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1.5rem;
    background-color: var(--input-bg);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-color);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.suggest-password-btn:hover {
    background-color: var(--border-color);
    border-color: var(--strength-3);
}

.suggest-password-btn i {
    color: var(--strength-3);
}

.strength-meter {
    margin-bottom: 2rem;
}

.strength-bar {
    height: 8px;
    background-color: var(--input-bg);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.strength-progress {
    height: 100%;
    width: 0;
    transition: all 0.3s ease;
}

.strength-label {
    font-size: 0.9rem;
    font-weight: 500;
}

.feedback-container {
    background-color: var(--input-bg);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.feedback-item {
    margin-bottom: 1.5rem;
}

.feedback-item:last-child {
    margin-bottom: 0;
}

.feedback-item h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    opacity: 0.9;
}

.feedback-item p, .feedback-item ul {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
}

#suggestions {
    list-style-type: none;
    padding-left: 0;
}

#suggestions li {
    margin-bottom: 0.5rem;
}

.security-notice {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-color);
    opacity: 0.7;
    text-align: center;
}

.security-notice i {
    font-size: 1rem;
}

@media (max-width: 480px) {
    .container {
        padding: 1.5rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    #passwordInput {
        font-size: 1rem;
    }
} 
