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

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(to right, #4e54c8, #8f94fb);
}

.container {
    max-width: 500px;
    width: 100%;
    padding: 40px 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

h1 {
    font-size: 28px;
    text-align: center;
    margin-bottom: 36px;
    color: #333;
}

.inputBox {
    position: relative;
    margin-bottom: 15px;
}

.inputBox span {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 20px;
    color: #707070;
    transition: color 0.3s ease;
}

.inputBox span:hover {
    color: #4e54c8;
}

.passBox {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    background: #f8f8f8;
    color: #333;
    height: 50px;
}

.copy-msg {
    margin-bottom: 15px;
    background: linear-gradient(to right, #00c853, #00e676);
    color: #fff;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    z-index: 1000;
    width: 70%;
    display: none;
    box-shadow: 0 4px 15px rgba(0, 230, 118, 0.2);
    text-align: center;
    border-left: 4px solid #00a043;
    animation: slideIn 0.3s ease forwards;
}

@keyframes slideIn {
    from {
        transform: translateY(-10px);
        opacity: 0;
    }

    to {
        transform: translateY(10);
        opacity: 1;
        -webkit-transform: translateY(10);
        -moz-transform: translateY(10);
        -ms-transform: translateY(10);
        -o-transform: translateY(10);
    }
}

.generate-copy {
    margin-bottom: 15px;
    background: linear-gradient(to right, #ff0000, #ff0000);
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    z-index: 1000;
    display: none;
    width: 80%;
    box-shadow: 0 4px 15px rgba(78, 84, 200, 0.2);
    text-align: center;
    border-left: 4px solid #3a40a0;
    animation: slideIn 0.3s ease forwards;
}

@keyframes slideIn {
    from {
        transform: translateY(-10px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}




.row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 15px 0;
}

.row label,
.row p {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

input[type="range"] {
    width: 100%;
    height: 8px;
    margin: 15px 0;
    cursor: pointer;
}

.pass-indicator {
    width: 100%;
    height: 4px;
    background: #dfdfdf;
    margin: 15px 0;
    border-radius: 25px;
    position: relative;
}

.pass-indicator::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 50%;
    border-radius: 25px;
    transition: width 0.3s ease;
    background: #4e54c8;
}

.pass-indicator.weak::before {
    width: 20%;
    background: #e64a4a;
}

.pass-indicator.medium::before {
    width: 50%;
    background: #f1c80b;
}

.pass-indicator.strong::before {
    width: 100%;
    background: #00a043;
}

.genBtn {
    width: 100%;
    padding: 14px 0;
    border: none;
    border-radius: 6px;
    font-size: 17px;
    font-weight: 600;
    background: #4e54c8;
    color: #fff;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.3s ease;
}

.genBtn:hover {
    background: #3a40a0;
}