* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

body {
    background-color: #38040D;
    padding: 20px;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    background-color: black;
    padding: 30px;
    border-radius: 0px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #CE0023;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #CE0023;
}

#textInput {
    width: 100%;
    height: 40px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 0px;
    resize: vertical;
    font-size: 22px;
}

#textInput:focus {
    outline: none;
    border-color: #CE0023;
    box-shadow: 0 0 5px rgba(74, 144, 226, 0.3);
}

.char-counter {
    position: absolute;
    bottom: 10px;
    right: 15px;
    font-size: 12px;
    color: #999;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 2px 5px;
}

button {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #CE0023;
    color: white;
    border: none;
    border-radius: 0px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #357bd8;
}

button:active {
    background-color: #2e6bba;
}

#message {
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
}

.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
