html {
    height: 100%;
    
}

body {
    background-color: #e2e8f0;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 100vh;
    overflow-y: auto;
}

*:focus {
    outline: none;
}

.preloader-container {
    position: fixed;
    inset: 0;
    background-color: #0c0b22;
    z-index: 100;
    height: 100%;
    transition: 1s;
}

.preloader-container svg {
    font-weight: bold;
    stroke: #fff;
    stroke-width: 0.25px;
    height: 100%;
    width: 100%;
}

.preloader-container svg text {
    animation: 4s ease stroke-animate;
}

@keyframes stroke-animate {
    0% {
        fill: transparent;
        stroke-dashoffset: 25%;
        stroke-dasharray: 0 32%;
    }

    50% {
        fill: transparent;
    }

    80%,
    100% {
        fill: #fff;
        stroke: transparent;
        stroke-width: 0;
        stroke-dashoffset: -25%;
        stroke-dasharray: 32% 0;
    }
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
}

.popup-box {
    background: white;
    padding: 30px;
    border-radius: 16px;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.popup-box h2 {
    margin-top: 0;
    font-size: 20px;
    color: #2d3748;
}

.popup-box p {
    font-size: 14px;
    color: #555;
    margin: 15px 0;
}

.popup-box button {
    padding: 10px 20px;
    background: #534ef4;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.container {
    display: none;
    max-width: 600px;
    width: 100%;
    background: white;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin: 20px auto;
}

h1 {
    font-size: 24px;
    font-weight: bold;
    color: #2d3748;
}

p {
    color: #808080;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.optionButton {
    padding: 10px 20px;
    background: white;
    color: #534ef4;
    border: 2px solid #534ef4;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.optionButton:hover {
    background: #534ef4;
    color: white;
}

.section {
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-top: 10px;
}

h3 {
    font-size: 18px;
    color: #2d3748;
    margin-bottom: 10px;
}

input {
    width: calc(100% - 20px);
    padding: 10px;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    background: #f7fafc;
    font-size: 14px;
    outline: none;
    transition: all 0.2s ease-in-out;
    margin-bottom: 0.5rem;
}

button {
    display: block;
    width: 100%;
    padding: 10px;
    background: linear-gradient(to right, #534ef4, #434190);
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 10px;
    transition: 0.5s;
}

button:hover {
    background: linear-gradient(to right, #434190, #3730a3);
}

select {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    border: 1px solid #cbd5e0;
    border-radius: 5px;
    padding: 0.2rem;
    margin-left: 1rem;
}

li {
    cursor: pointer;
    position: relative;
}

li:hover {
    text-decoration: underline;
}

pre {
    width: 100%;
    overflow-x: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
}

#printButton {
    display: block;
    width: 100%;
    padding: 10px;
    background: linear-gradient(to right, #534ef4, #434190);
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.5s;
}

#printButton:hover {
    background: linear-gradient(to right, #434190, #3730a3);
}
