html {
    min-height: 100vh;
    min-width: 100vw;
}

body {
    margin: 0;
    padding: 0;
    width: 100vw;
    min-height: 100vh;
    height: auto;
    display: flex;
    align-items: center;
    text-align: center;
    font-family: Arial, sans-serif;
}

#app-content {
    width: 60%;
    max-width: 880px;
    padding: 30px 40px;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    background-image: linear-gradient(to right, #ffffff, #e6e6e6);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    border-radius: 25px;
}

#app-content .header {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90%;
    height: auto;
    margin-bottom: 10px;
    font-size: x-large;
}

#app-content .header h1 {
    text-wrap: wrap !important;
}

#app-content .logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
    height: auto;
    margin-bottom: 20px;
}

#app-content .logo img {
    width: 100%;
    height: auto;
}

#app-content .description {
    margin-bottom: 20px;
}

#app-content #footer {
    margin-top: 30px;
}

h1,
a {
    text-wrap: nowrap;
}

/* Working Area */
#working-area {
    min-height: 100px; /* Ensure the working area is large enough to fit the spinner */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Loading Spinner and Success Message */

#loading-spinner {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    border: 8px solid #f3f3f3;
    border-radius: 50%;
    border-top: 8px solid #3498db;
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite;
    z-index: 1002;
    background-color: rgba(177, 177, 177, 0.345);
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

#success-message {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #4caf50;
    color: white;
    padding: 20px;
    border-radius: 5px;
    z-index: 1001;
}

#working-area .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
}

/* Responsive Design */

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    p {
        font-size: 1rem;
    }
}
