.Typewriter__cursor {
    display: inline-block;
    color: black;
    font-size: 1.2rem;
    animation: none;
}

.Typewriter__cursor.blink {
    animation: blink 1s steps(2, start) infinite; /* Add blinking when typing is done */
}

@keyframes blink {
    to {
        visibility: hidden;
    }
}

.ani-container {
    margin-top: 6vh;
    text-align: center;
}
.ani-typeWriterText{
    font-family: "Courier New", monospace;
    font-size: 1.5rem;
    font-weight: bold;
    white-space: pre-wrap;
}
.input-font {
    font-size: 1.2rem;
}
.input-fld {
    text-align: center;
    outline: none;
    border: none;
    border-bottom: 1px solid #ced4da;
    width: 60%;
}
.input-fld:hover {
    outline: none;
    border: none;
    border-bottom: 1px solid #ced4da;
}
.input-fld:focus {
    border: none;
    border-bottom: 1px solid #ced4da !important;
}
.heading-box {
    max-height: 160px;
    min-height: 160px;
    margin-bottom: 10px;
}
.form-box {
    text-align: center;
}
.form-hidden {
    display: none;
}
#formHidden {
    display: none; /* Initially hidden */
    opacity: 0;    /* Start with 0 opacity */
    transition: opacity 0.5s ease-in-out; /* Fade-in over 500ms */
}
#formHidden.show {
    display: block; /* Ensure it's visible */
    opacity: 1;     /* Fully visible */
}

.clear-btn {
    background-color: transparent;
    border: 0 transparent;
    font-family: "Courier New", monospace;
    font-size: 1rem;
    color: #000;
}
/* Error message styling */
.typewriter-error {
    font-size: 13pt;
    padding: 10px 15px;
    margin: 15px 0;
    font-weight: 500;
    animation: fadeIn 0.3s ease-in-out;
}
.error-icon {
    margin-right: 8px;
}
.typewriter-retry-button {
    border-width: 0;
    background-color: #021438 !important;
    font-family: var(--bs-font-sans-serif);
    color: #FFFFFF;
    font-size: 12pt;
    border-radius: 24px;
    min-width: 220px;
    min-height: 38px;

    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 10px;
}
.typewriter-retry-button:hover {
    background-color: #02143840;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

