* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f0f2f5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    background-color: #1a73e8;
    color: white;
    text-align: center;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

main {
    max-width: 600px;
    margin: 2rem auto;
    padding: 0 1rem;
    flex: 1;
}

.content {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.password-display {
    display: flex;
    gap: 10px;
    margin-bottom: 1.5rem;
}

#password {
    flex: 1;
    padding: 12px;
    font-size: 1.1rem;
    border: 2px solid #ddd;
    border-radius: 4px;
    background-color: #f8f9fa;
    resize: none;
    font-family: monospace;
    line-height: 1.5;
    min-height: 60px;
    height: auto;
    overflow-y: auto;
    white-space: pre;
}

#password:focus {
    outline: none;
    border-color: #1a73e8;
}

#copyBtn {
    padding: 0 15px;
    font-size: 1.2rem;
    background-color: #1a73e8;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    align-self: flex-start;
}

#copyBtn:hover {
    background-color: #1557b0;
}

.password-settings {
    display: flex;
    gap: 20px;
    margin-bottom: 1.5rem;
}

.setting-group {
    flex: 1;
}

.setting-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
}

select {
    width: 100%;
    padding: 8px;
    border: 2px solid #ddd;
    border-radius: 4px;
    background-color: white;
    font-size: 1rem;
    cursor: pointer;
}

select:focus {
    outline: none;
    border-color: #1a73e8;
}

.options {
    margin-bottom: 1.5rem;
}

.option {
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.option input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.strength-meter {
    margin-bottom: 1.5rem;
}

.strength-label {
    margin-bottom: 0.5rem;
    color: #333;
}

.strength-bar {
    height: 10px;
    background-color: #ddd;
    border-radius: 5px;
    overflow: hidden;
}

#strength {
    height: 100%;
    width: 0;
    transition: width 0.3s ease;
    background-color: #ff4444;
}

#generateBtn {
    width: 100%;
    padding: 12px;
    background-color: #1a73e8;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

#generateBtn:hover {
    background-color: #1557b0;
}

footer {
    text-align: center;
    padding: 1rem;
    background-color: #1a73e8;
    color: white;
    margin-top: auto;
}

@media (max-width: 768px) {
    header {
        padding: 1rem;
    }
    
    main {
        margin: 1rem auto;
    }
    
    .content {
        padding: 1rem;
    }
    
    .password-settings {
        flex-direction: column;
        gap: 10px;
    }
    
    #password {
        font-size: 1rem;
    }
} 