/* General styles */
body {
    font-family: 'Poppins', sans-serif;
    background: #f4f7fc;
    color: #333;
}

/* Centered container */
.pass-container {
    background: white;
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.15);
    transition: 0.3s ease-in-out;
    text-align: center;
    margin-top: 10px; /* Pushes content further down */
}

h2 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #444;
}

/* Password input and buttons */
.password-container {
    display: flex;
    align-items: center;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 8px;
    margin-bottom: 10px;
}

input {
    flex: 1;
    padding: 10px;
    border: none;
    background: transparent;
    font-size: 16px;
    outline: none;
}

button {
    padding: 8px 12px;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    font-size: 14px;
    transition: 0.3s;
}

#copyBtn {
    background: #007bff;
    color: white;
}

#clearBtn {
    background: #dc3545;
    color: white;
}

#copyBtn:hover, #clearBtn:hover {
    opacity: 0.85;
}

/* Strength meter */
.strength-meter {
    height: 8px;
    width: 100%;
    background: #ddd;
    border-radius: 5px;
    margin-bottom: 8px;
    overflow: hidden;
}

#strength-bar {
    height: 100%;
    width: 0%;
    transition: width 0.3s ease-in-out;
}

/* Strength message */
#strengthMessage {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 8px;
}

/* Options section */
.options {
    text-align: left;
    margin-top: 15px;
}

.options label {
    display: block;
    margin: 5px 0;
    font-size: 14px;
}

/* Generate button */
#generateBtn {
    width: 100%;
    padding: 12px;
    margin-top: 12px;
    background: #28a745;
    color: white;
    font-size: 16px;
    font-weight: bold;
}

#generateBtn:hover {
    background: #218838;
}

/* Copy feedback effect */
button:active {
    transform: scale(0.98);
}

/* Mobile styles */
@media (max-width: 480px) {
    .container {
        width: 90%;
        padding: 15px;
    }

    input {
        font-size: 14px;
    }

    button {
        font-size: 12px;
        padding: 6px 10px;
    }
}
