/* Base Styles */
body {
    font-family: "Roboto", sans-serif;
    background-color: #1e1e2f;
    color: #f5f5f5;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    background-color: #28293e;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
    max-width: 850px;
    width: 100%;
    text-align: center;
}

h2 {
    color: #2d65b0;
    margin-bottom: 20px;
    font-size: 24px;
    letter-spacing: 1px;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

label {
    text-align: left;
    font-weight: bold;
    margin-bottom: 8px;
    color: #2d65b0;
}

input,
select,
button,
textarea {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #444;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
    background-color: #32334a;
    color: #f5f5f5;
    transition: all 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #2d65b0;
    outline: none;
    box-shadow: 0 0 8px rgba(42, 38, 151, 0.8);
}

button {
    background-color: #2d65b0;
    color: #ffffff;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #1b4378;
}

textarea {
    resize: none;
    font-size: smaller;
    font-family: monospace;
    white-space: pre;
    height: 300px;
    background-color: #242430;
}

.result {
    text-align: left;
    margin-top: 25px;
    background-color: #32334a;
    padding: 20px;
    border-radius: 8px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

.result p {
    margin: 10px 0;
}

.result .signature {
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    word-wrap: break-word;
    color: #e0e0e0;
}

textarea#story {
    white-space: pre-wrap;
}

object.signature {
    display: block;
    background-color: white;
    width: 100%;
    padding: 0;
}

a {
    display: inline-block;
    margin-top: 30px;
    text-decoration: none;
    color: #2d65b0;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}

/* Extra Styling */
input[type="file"] {
    border: 2px dashed #2d65b0;
    padding: 20px;
    cursor: pointer;
    text-align: center;
    background-color: #32334a;
}

input[type="file"]::-webkit-file-upload-button {
    visibility: hidden;
}

input[type="file"]:hover {
    border-color: #164076;
    background-color: #2a2a3c;
}

button.logout {
    color: red;
    padding: 12px 20px;
    font-size: small;
    border: 1px solid red;
    background-color: transparent;
}