/* General Styles */
body {
    font-family: 'Arial', Helvetica, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: linear-gradient(180deg, #f4f4f9, #e0e0e5);
    color: #333;
}

header {
    background: linear-gradient(90deg, #006bbf, #004b8a);
    color: white;
    padding: 1.5rem 0;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 10;
}

header h1 {
    margin: 0;
    font-size: 2.8rem;
    letter-spacing: 1px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

main {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

section {
    margin-bottom: 2rem;
    padding: 1rem;
    border-radius: 8px;
    background: #fafafa;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

h2 {
    color: #007bff;
    margin-bottom: 1rem;
    border-bottom: 2px solid #007bff;
    display: inline-block;
    padding-bottom: 0.3rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

input {
    width: calc(100% - 40px);
    padding: 0.7rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="%23707070" viewBox="0 0 24 24"><path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 6.42 13.58 4 10.5 4S5 6.42 5 9.5 7.42 15 10.5 15c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zM10.5 13c-1.93 0-3.5-1.57-3.5-3.5S8.57 6 10.5 6s3.5 1.57 3.5 3.5S12.43 13 10.5 13z"></path></svg>') no-repeat right 10px center;
    background-size: 20px;
}

button {
    background: linear-gradient(90deg, #007bff, #0056b3);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    font-size: 1.2rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

button:hover {
    background: linear-gradient(90deg, #0056b3, #003d80);
    transform: translateY(-2px);
}

button:focus {
    outline: 3px dashed #0056b3;
    outline-offset: 2px;
}

pre {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 5px;
    border: 1px solid #ddd;
    overflow-x: auto;
    max-height: 300px;
    scrollbar-width: thin;
    scrollbar-color: #007bff #f8f9fa;
}

pre::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

pre::-webkit-scrollbar-thumb {
    background-color: #007bff;
    border-radius: 5px;
}

pre::-webkit-scrollbar-track {
    background: #f8f9fa;
}

#results-viewer {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 5px;
    border: 1px solid #ddd;
    max-height: 300px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #007bff #f8f9fa;
}

#results-viewer::-webkit-scrollbar {
    width: 8px;
}

#results-viewer::-webkit-scrollbar-thumb {
    background-color: #007bff;
    border-radius: 5px;
}

#results-viewer::-webkit-scrollbar-track {
    background: #f8f9fa;
}

footer {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(90deg, #f4f4f9, #e0e0e5);
    color: #555;
    font-size: 0.9rem;
    border-top: 1px solid #ddd;
}

footer p {
    margin: 0;
}
