* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    transition: background-color 0.3s, color 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

body.dark-mode {
    background-color: #121212;
    color: #f0f0f0;
}

.container {
    width: 90%;
    max-width: 500px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s;
    margin: 10px;
}
#summary h3{
    text-align: center;
}

.icon-container {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    cursor: pointer;
}

#summary h2{
    text-align: center;
}

.container.dark-mode {
    background-color: #1e1e1e;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 2rem;
}

form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

input[type="url"] {
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.3s;
    text-align: center;
}

input[type="url"]:focus {
    border-color: #007bff;
}

button {
    padding: 10px 20px;
    font-size: 1rem;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #0056b3;
}

button:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
}

.summary {
    display: none;
    margin-top: 20px;
}

.summary.show {
    display: block;
}

.section {
    margin-bottom: 20px;
}

.section h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #007bff;
}

.section p {
    line-height: 1.5;
}

iframe {
    margin-top: 25px;
    border: none;
    border-radius: 4px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    h1 {
        font-size: 1.5rem;
    }

    button {
        font-size: 0.9rem;
    }
}

/* Default (light mode) customizations */
.introjs-tooltip {
    background-color: #ffffff;
    color: #000000;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.introjs-tooltipbuttons button {
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
}

.introjs-progressbar {
    background-color: #007bff;
}

/* Dark mode customizations */
@media (prefers-color-scheme: dark) {
    .introjs-tooltip {
        background-color: #1e1e1e;
        color: #ffffff;
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    }

    .introjs-tooltipbuttons button {
        background-color: #4e8ef7;
        color: #fff;
    }

    .introjs-progressbar {
        background-color: #4e8ef7;
    }
}

/* Light mode background */
body:not(.dark-mode) .introjs-overlay {
    opacity: 0.4;
    background-color: rgb(0, 0, 0) !important;
    outline: none !important;
}

/* Dark mode background */
body.dark-mode .introjs-overlay {
    opacity: 0.7;
    background-color: rgb(0, 0, 0) !important;
    /* Red for dark mode */
}

.introjs-tooltiptext {
    color: #000 !important;
    /* or whatever color contrasts your tooltip background */
}

.logo-link {
    position: fixed;
    top: 12px;
    left: 12px;
    display: inline-block;
    z-index: 1000;
}

.logo {
    height: 32px;
    /* default size for mobile */
    width: auto;
    display: block;
}

/* For screens wider than 768px (desktop/tablet), make the logo bigger */
@media (min-width: 768px) {
    .logo {
        height: 48px;
        /* bigger logo on larger screens */
    }
}