* {margin: 0; padding: 0; box-sizing: border-box;}
.error {
    display: flex;
    justify-content: center;
    align-items: center;
}
.error p {
    color: #fff;
    font-family: 'Times New Roman';
    font-size: 18px;
    padding: 7px 5px;
}
.header {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 10px 25px;
}
.header img {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    border: 1px solid #fff;
    box-shadow: 0 0 10px #fff;
}
.header h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-family: 'Times New Roman';
    padding: 10px;
}
.header .textColor {
    font-weight: bold;
    background: linear-gradient(90deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #8b00ff, #ff0000);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: textColor 5s linear infinite;
}
@keyframes textColor {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}
@media (prefers-reduced-motion: reduce) {
    .header .textColor {
        animation: none;
        background-size: auto;
    }
}
.format {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #fff;
    text-shadow: 0 1px 2px #000;
}
.format form {
    box-shadow: 0 0 20px #fff;
    padding: 20px 20px 10px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background-color: rgba(0, 0, 0, 0.8);
}
.format form fieldset {
    padding: 0;
    border: 1.5px solid #00ffff;
    border-radius: 4px;
}
.format form fieldset:focus-within {
    border-color: #ff0000;
}
.format form fieldset:focus-within legend {
    color: #00ff00;
}
.format form fieldset legend {
    margin-left: 8px;
    padding-inline: 4px;
    font-size: 13px;
    color: #ffff00;
}
.format form fieldset input {
    padding: 7px 15px;
    border: 0;
    background-color: transparent;
    color: #fff;
    font-size: 16px;
    width: 250px;
    font-family: 'Times New Roman';
}
.format form fieldset input:focus {
    outline: none;
    color: #00ffff;
    font-family: Arial, sans-serif;
}
.format form button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
    padding: 5px;
    border-radius: 25px;
    margin-top: 5px;
    font-family: 'Times New Roman';
    font-size: 17px;
    border: 1px solid #fff;
    background-color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
}
.format form button:hover {
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-weight: bold;
}
.format .switch-link {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    padding: 10px 10px 5px;
}
.format .switch-link p {
    padding: 7px 25px 5px;
    font-family: 'Times New Roman';
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 25px;
    color: #000;
    text-shadow: none;
}
.format .switch-link p a {
    margin-left: 5px;
    color: rgb(0, 0, 255);
    cursor: pointer;
    text-decoration: none;
}
.format .switch-link p a:hover {
    text-decoration: underline;
    color: rgba(255, 0, 0, 0.8);
}
.hidden {
    display: none;
}