@font-face {
    font-family: 'League';
    src: url('../fonts/League.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0a1428;
    color: #f0e6d2;
    font-family: 'League', 'Georgia', serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

header {
    margin-bottom: 20px;
    width: 100%;
    max-width: 400px;
    text-align: center;
}

form {
    background-color: #010a13cc;
    border: 2px solid #c8aa6e;
    padding: 30px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 0 15px #c8aa6e33;
    border-radius: 5px;
}

fieldset {
    border: none;
}

legend {
    font-size: 1.5rem;
    color: #c8aa6e;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: #c8aa6e;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    background-color: #010a13;
    border: 1px solid #463714;
    color: #f0e6d2;
    outline: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
    border-color: #c8aa6e;
    box-shadow: 0 0 5px #c8aa6e80;
}

button {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    background-color: #00000000;
    color: #c8aa6e;
    border: 2px solid #c8aa6e;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
}

button:hover {
    background-color: #c8aa6e;
    color: #0a1428;
}

form p {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
}

form a {
    color: #c8aa6e;
    text-decoration: none;
}

form a:hover {
    text-decoration: underline;
}

.error {
    color: #ff4e50;
    padding: 10px;
    margin-bottom: 10px;
    font-weight: bold;
}
.error p {
    margin: 10px 0;
}

.success {
    color: #00ff9d;
    padding: 10px;
    margin-bottom: 10px;
    font-weight: bold;
}

.error:empty,
.success:empty {
    display: none;
}