body { font-family: Arial, sans-serif; margin: 0; padding: 0; background-color: #f9f9f9; color: #333333; transition: background-color 0.3s ease, color 0.3s ease; position: relative; } body.dark-mode { background-color: #333333; color: #ffffff; } header { background-color: #007bff; color: #ffffff; text-align: center; padding: 20px 0; } main { max-width: 1200px; margin: 0 auto; padding: 20px; } h1, h2 { color: inherit; } body.dark-mode table { background-color: #222222; color: #ffffff; } body.dark-mode th { background-color: #333333; } body.dark-mode tr:nth-child(even) { background-color: #444444; } body.dark-mode tr:nth-child(odd) { background-color: #333333; } body.dark-mode td { border-color: #555555; } table { border-collapse: collapse; width: 100%; margin-bottom: 20px; background-color: #ffffff; border-radius: 10px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); } th, td { border: 1px solid #dddddd; text-align: left; padding: 8px; } th { background-color: #f2f2f2; } img { max-width: 100%; height: auto; margin-top: 20px; border-radius: 10px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); } form { margin: 20px auto; padding: 20px; background-color: #ffffff; border-radius: 10px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); animation: fadeIn 0.5s ease; transition: max-height 0.5s ease; max-height: 500px; overflow: hidden; } form.closed { max-height: 0; padding: 0; margin: 0; overflow: hidden; } @keyframes fadeIn { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } } input[type="file"] { display: block; margin: 20px 0; width: 100%; padding: 10px; border: 2px solid #007bff; border-radius: 10px; font-size: 16px; color: #333333; } input[type="submit"] { display: none; } .button { display: inline-block; background-color: #007bff; color: #ffffff; border: none; padding: 10px 20px; border-radius: 5px; cursor: pointer; font-size: 16px; transition: background-color 0.3s ease; margin-bottom: 10px; } .button:hover { background-color: #0056b3; } .dark-mode-button { position: absolute; top: 10px; right: 10px; background-color: transparent; font-size: 44px; border: none; cursor: pointer; } .dark-mode-button img { width: 20px; height: auto; } #dropArea { border: 2px dashed #007bff; border-radius: 10px; padding: 20px; margin: 20px auto; width: 80%; text-align: center; font-size: 1.2em; cursor: pointer; } #dropArea.highlight { background-color: #f0f8ff; } #sql_input{ width: 100%; height: 50%; background-color: #d4d4d4; color: #201d1d; border-radius: 10px; padding: 20px; border: none; } #execute_button{ background-color:#007bff ; display: inline-block; border: none; padding: 10px 20px; border-radius: 5px; cursor: pointer; font-size: 16px; transition: background-color 0.3s ease; margin-bottom: 10px; color: white; } #execute_button:hover { background-color: #0056b3; }