/* Developed By Xyraenn */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to bottom, #a2d2ff, #cdb4db);
    padding: 1rem;
}

.container {
    background-color: #fff0f3;
    width: 100%;
    max-width: 500px;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

#createdPass {
    width: 100%;
    background-color: #fef9c3;
    border: 2px dashed #fde047;
    border-radius: .75rem;
    padding: 1rem 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    font-family: monospace;
    letter-spacing: 2px;
    word-break: break-word;
    color: #1f2937;
}

#resetBtn {
    cursor: pointer;
    font-size: 1rem;
    padding: 0.75rem 1.2rem;
    border-radius: .5rem;
    border: none;
    background-color: #4f46e5;
    color: white;
    transition: background-color 0.3s ease;
    margin-bottom: 1rem;
}
.bx-refresh{
    font-size: 2rem;
}

/* Developed By Xyraenn */

#resetBtn:hover {
    background-color: #4338ca;
}

.select {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

input[type="range"] {
    width: 100%;
    accent-color: #4f46e5;
}

label[for="lengthRange"] {
    font-size: 1rem;
    color: #111827;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 1rem;
    color: #111827;
}

#copyMessage {
    display: none;
    position: absolute;
    right: 2rem;
    bottom: 2rem;
    color: green;
    background-color: #fef9c3;
    box-shadow: 0 0 10px rgb(212, 255, 0), 0 0 20px rgb(111, 0, 255), 0 0 30px rgb(212, 255, 0);
    padding: 1rem;
    border-radius: .3rem;
    font-weight: bold;
    transition: all .5s;
}

/* Mobil uyum */
@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    #createdPass {
        font-size: 1.25rem;
        padding: 0.75rem 1rem;
    }

    #resetBtn {
        width: 100%;
    }
}

/* Developed By Xyraenn */

.custom-checkbox {
    position: relative;
    padding-left: 2.5rem;
    cursor: pointer;
    font-size: 1.1rem;
    user-select: none;
    display: flex;
    align-items: center;
    color: #1f2937;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.custom-checkbox .checkmark {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 1.2rem;
    width: 1.2rem;
    background-color: white;
    border: 2px solid #4f46e5;
    border-radius: 0.25rem;
    transition: background-color 0.2s ease;
}

.custom-checkbox .checkmark::after {
    content: "";
    position: absolute;
    display: none;
    left: 0.35rem;
    top: 0.05rem;
    width: 0.25rem;
    height: 0.5rem;
    border: solid white;
    border-width: 0 0.2rem 0.2rem 0;
    transform: rotate(45deg);
}

.custom-checkbox input:checked ~ .checkmark {
    background-color: #4f46e5;
}

.custom-checkbox input:checked ~ .checkmark::after {
    display: block;
}

/* Developed By Xyraenn */

.strength-container{
    height: 10px;
    width: 100%;
    background-color: #e0e0e0;
    border-radius: .5rem;
    overflow: hidden;
    margin-bottom: 2rem;
    
}
.strength-bar{
    height: 100%;
    width: 0;
    transition: width 0.3s ease, background-color 0.3s ease;
}
footer{
    position: fixed;
    bottom: 1rem;
    background: linear-gradient(to bottom, #a2d2ff, #cdb4db);
    padding: 1rem;
    border-radius: .75rem;
}
