:root {
    --primary: #2A6BFF;
    --secondary: #4CAF50;
    --background: #f0f2f5;
    --text: #2d3436;
    --container-bg: rgba(255, 255, 255, 0.95);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
    padding: 20px;
}

.container {
    background: var(--container-bg);
    min-height: 80px;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 550px;
    transition: transform 0.3s ease;
}

.container:hover {
    transform: translateY(-5px);
}

h1 {
    text-align: center;
    color: var(--text);
    margin-bottom: 2rem;
    font-weight: 600;
    font-size: 1.8rem;
}

.password-display {
    position: relative;
    margin-bottom: 2rem;
}

#password {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    outline: none;
    background: #f8f9fa;
    color: var(--text);
    padding-right: 120px;
}

.copy-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.copy-btn:hover {
    background: #1a5bff;
    box-shadow: 0 3px 12px rgba(42, 107, 255, 0.3);
}

.options {
    margin-bottom: 2rem;
}

.option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 1rem;
    transition: transform 0.2s ease;
}

.option:hover {
    transform: translateX(5px);
}

label {
    font-size: 0.95rem;
    color: var(--text);
    font-weight: 500;
}

input[type="number"] {
    width: 70px;
    padding: 0.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    text-align: center;
}

input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
    cursor: pointer;
}

.strength-indicator {
    height: 5px;
    background: #eee;
    border-radius: 5px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.strength-bar {
    height: 100%;
    width: 0;
    transition: all 0.3s ease;
}

button#generateBtn {
    width: 100%;
    padding: 1rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

button#generateBtn:hover {
    background: #1a5bff;
    box-shadow: 0 5px 15px rgba(42, 107, 255, 0.4);
}

.security-info {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.fa-shield-halved {
    color: var(--secondary);
}

@media (max-width: 480px) {
    .container {
        padding: 1.5rem;
    }
    
    h1 {
        font-size: 1.5rem;
    }
}