body {
    background-color: #121212;
    color: #ddd;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    flex-direction: column;
}

h1 {
    color: #8e44ad;
    margin-bottom: 20px;
}

.container {
    width: 50%;
    max-width: 1000px;
    background-color: #222;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

input[type="text"] {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: none;
    border-radius: 5px;
    background-color: #333;
    color: #ddd;
}

button {
    background-color: #8e44ad;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin: 5px;
}

button:hover {
    background-color: #9b59b6;
}

.output {
    margin-top: 20px;
    background-color: #333;
    padding: 15px;
    border-radius: 10px;
    max-height: 300px;
    overflow-y: auto;
}

.output pre {
    margin: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
}


progress {
    width: 100%;
    height: 20px;
    margin-top: 20px;
    border-radius: 15px;
    border: none;
    background-color: #444;
    display: none;
    
}

progress::-webkit-progress-bar {
    background-color: #444;
    border-radius: 15px;
}

progress::-webkit-progress-value {
    background: linear-gradient(90deg, rgba(138, 68, 173, 1) 0%, rgba(155, 89, 182, 1) 100%);
    border-radius: 15px;
}

progress::-moz-progress-bar {
    background: linear-gradient(90deg, rgba(138, 68, 173, 1) 0%, rgba(155, 89, 182, 1) 100%);
    border-radius: 15px;
}
#openPdfButton {
    position: fixed;
    bottom: 20px;  
    right: 20px; 
    padding: 15px 25px;
    background-color: #8e44ad; 
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

#openPdfButton:hover {
    background-color: #6c3483;  
}

#openPdfButton::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400%;  
    height: 400%;
    background: rgba(142, 68, 173, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: wave 2s infinite; 
}

@keyframes wave {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6; 
    }
    50% {
        transform: translate(-50%, -50%) scale(2);  
        opacity: 0;  
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;  
    }
}
