body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
    color: #333;
}

@supports (-webkit-touch-callout: none) {
    body {
        min-height: -webkit-fill-available;
    }
}

header {
    background-color: #0087c7;
    color: white;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header p {
    margin: 5px 0 0;
}

#app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: -webkit-fill-available;
    flex: 1;
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
}

.container h1 {
    font-size: 2.5rem;
    margin: 0;
}

h2 {
    font-size: 1.8rem;
    margin-top: 30px;
    border-bottom: 2px solid black;
    padding-bottom: 10px;
}

h3 {
    font-size: 1.4rem;
    margin-top: 20px;
}

p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.script-section {
    margin-bottom: 40px;
}

a {
    color: #0087c7;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.2s ease-in;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

a:hover {
    border-bottom: 2px solid #0087c7;
}

footer {
    background-color: #0087c7;
    color: white;
    text-align: center;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

footer a {
    color: white;
    font-weight: bold;
    text-decoration: underline;
}

footer p {
    margin: 0;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .container h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    p {
        font-size: 1rem;
    }

    .container {
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .container h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    p {
        font-size: 0.95rem;
    }
}

.svg-container {
    max-width: 278px;
    width: 100%;
    height: auto;
}

svg {
    max-width: 278px;
    width: 100%;
    height: auto;
}

.code-container {
    position: relative;
    background-color: #2d2d2d;
    border-radius: 10px;
    padding: 16px;
    color: #eaeaea;
    font-size: 16px;
    line-height: 1.5;
    overflow-x: auto;
    white-space: nowrap;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    text-align: left;
}

@media screen and (max-width: 768px) {
    .code-container {
        font-size: 14px;
        padding: 12px;
    }
}

@media screen and (max-width: 576px) {
    .copy-btn {
        display: none;
    }
}

#pre {
    display: block;
    font-family: monospace;
    unicode-bidi: isolate;
    white-space: pre;
    margin: 1em 0;
}

#pre, #code {
    text-align: left;
    margin: 0;
    white-space: normal;
}

.code-url {
    color: #88c0d0;
    font-weight: bold;
}

.code-command {
    color: #a3be8c;
    font-weight: bold;
}

.copy-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: transparent;
    color: white;
    border: 1px solid white;
    padding: 6px 12px;
    font-size: 14px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.copy-btn:hover {
    background-color: rgba(136, 192, 208, 0.2);
    color: white;
}

.copy-btn:active {
    background-color: rgba(94, 129, 172, 0.3);
    color: white;
}

.copy-btn.success {
    background-color: rgba(163, 190, 140, 0.2);
    border-color: white;
    color: white;
}

#spinner {
    width: 40px;
    height: 40px;

    position: relative;
    margin: 10rem auto;
}

.double-bounce1, .double-bounce2 {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #5cb6ff;
    opacity: 0.6;
    position: absolute;
    top: 0;
    left: 0;

    -webkit-animation: sk-bounce 2.0s infinite ease-in-out;
    animation: sk-bounce 2.0s infinite ease-in-out;
}

.double-bounce2 {
    -webkit-animation-delay: -1.0s;
    animation-delay: -1.0s;
}

@-webkit-keyframes sk-bounce {
    0%, 100% {
        -webkit-transform: scale(0.0)
    }
    50% {
        -webkit-transform: scale(1.0)
    }
}

@keyframes sk-bounce {
    0%, 100% {
        transform: scale(0.0);
        -webkit-transform: scale(0.0);
    }
    50% {
        transform: scale(1.0);
        -webkit-transform: scale(1.0);
    }
}

.hide {
    display: none;
}