/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

/* Reset and Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: linear-gradient(to right, #1e3c72, #2a5298);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 20px;
}

.wrapper {
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 20px 5px 15px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

h2 {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

/* Clipboard Input & Copy Button */
.copybtn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 8px;
    background: #f7f7f7;
}

.copybtn input {
    border: none;
    outline: none;
    font-size: 16px;
    width: 100%;
    background: transparent;
}

.copybtn button {
    background: #2a5298;
    border: none;
    padding: 6px 10px;
    border-radius: 5px;
    cursor: pointer;
}

.copybtn button img {
    filter: invert(1);
}

/* Password Length Slider */
.length {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 15px 0;
    font-size: 14px;
   
}

input[type='range'] {
    width: 100%;
    margin-top: 10px;
    cursor: pointer;
}

/* Checkbox Styling */
.maincharacters {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    justify-content: flex-start;
    margin: 20px 0;
}
.length{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 15px 0;
    font-size: 14px;
}

.length p {
    border-radius: 10px; 
    border: 1px solid rgb(97, 96, 96);
    width: 15%;
    font-size: medium;
    font-weight: 800;
}
.maincharacters label {
    font-size: 14px;
    cursor: pointer;
}

.content {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.content:hover{
    color: rgb(3, 75, 143);
    font-weight: 700;
    animation: 0.5s all linear;
}

input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #2a5298;
}

fieldset {
    border: 2px solid #2a5298;
    padding: 15px;
    border-radius: 10px;
    max-width: 350px;
}

legend {
    font-size: 18px;
    font-weight: 600;
    color: #2a5298;
}


/* Strength Meter */
.strength {
    text-align: center;
    margin-top: 15px;
}

.strength-meter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ddd;
    border-radius: 5px;
    padding: 5px;
    margin-top: 10px;
    position: relative;
}

.meter-bar {
    width: 30px;
    height: 30px;
    border-radius: 100%;
    transition: background 0.3s ease;
}

.meter-text {
    font-size: 17px;
    font-weight: 700;
}


/* Generate Button */
.generate button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px;
    background: #2a5298;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 20px;
}

.generate button:hover {
    background: #1e3c72;
}



