@import url("/public/css/main.css");

main.form {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 0;
    justify-content: center;
}

.container {
    width: 100%;
    max-width: 380px;
    padding: 15px;
}

form {
    background: #121212;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #ff7a00;
    box-shadow: 0 0 12px rgba(255, 120, 0, 0.4);
}

form h2 {
    color: #ff7a00;
    text-align: center;
    margin-bottom: 25px;
    font-size: 28px;
}

.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group select,
.input-group input {
    width: 100%;
    padding: 12px;
    background: #1b1b1b;
    border: 1px solid #ff7a00;
    border-radius: 6px;
    color: white;
    font-size: 16px;
    outline: none;
}

.input-group label {
    position: absolute;
    left: 12px;
    top: 12px;
    color: #888;
    transition: 0.3s;
    pointer-events: none;
}

.input-group select + label,
.input-group input.fill + label,
.input-group input:focus + label,
.input-group input:valid + label {
    top: -10px;
    background: #121212;
    border-radius: 5px;
    border-left: 1px solid #ff7a00;
    padding: 0 5px;
    color: #ff7a00;
    font-size: 13px;
}

.input-group button {
    position: absolute;
    right: 0;
    width: max-content;
    padding: 12px;
    background: #ff7a00;
    border: none;
    border-radius: 0 6px 6px 0;
    color: black;
    font-size: 18px;
    cursor: pointer;
    font-weight: bold;
}

.input-group button:hover {
    background: #ff9500;
}

.input-group p {
    display: none;
    font-size: 10px;
    padding: 3px 0;
}

.password-group {
    position: relative;
}

form .input-group .eye {
    position: absolute;
    right: 10px;
    top: 12px;
    font-size: 18px;
    cursor: pointer;
    color: #ff7a00;
}

.input-href {
    display: block;
    text-align: right;
    color: #ff7a00;
    text-decoration: none;
    margin-bottom: 15px;
    font-size: 14px;
}

form .btn {
    width: 100%;
    padding: 12px;
    background: #ff7a00;
    border: none;
    border-radius: 6px;
    color: black;
    font-size: 18px;
    cursor: pointer;
    font-weight: bold;
}

.btn:hover {
    background: #ff9500;
}

/* Register */
.page-href {
    text-align: center;
    margin-top: 15px;
    color: #ccc;
}

p.note {
    margin-bottom: 20px;
    text-align: center;
    margin-top: 5px;
    font-size: 15px;
    color: #ccc;
}

p.note a,
.page-href a {
    color: #ff7a00;
    text-decoration: none;
}
