@font-face {
    font-family: "Monument Extended Ultrabold";
    src: url("fonts/MonumentExtended-Ultrabold.otf");
}

@font-face {
    font-family: "Monument Extended Regular";
    src: url("fonts/MonumentExtended-Regular.otf");
}

@font-face {
    font-family: "DINPro-Regular";
    src: url("fonts/DINPro-Regular.ttf") format("truetype");
}

@font-face {
    font-family: "DINPro-Bold";
    src: url("fonts/DINPro-Bold.ttf") format("truetype");
}

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

body, html {
    height: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
    overflow: hidden;
    user-select: none;
}

.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('imagens/background.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.box {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 400px;
    transform: translate(-50%, -50%);
    background-image: url('imagens/fundo-box.jpg');
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    opacity: 1;
    transition: opacity 0.5s ease, display 0s 0.5s;
}

.box.hidden {
    opacity: 0;
    transition: opacity 0.5s ease, display 0s 0.5s;
}

.box-image {
    position: absolute;
    top: 23px;
    left: 32px;
    width: 220px;
    height: auto;
    border-radius: 5px;
}

.box-top-image {
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: auto;
    z-index: 1;
}

.info-container,
.inputs-container {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.inputs-container.visible {
    opacity: 1;
    transform: translateY(5px);
}

.info-container.visible {
    opacity: 1;
    transform: translateY(5px);
}

.info-container {
    margin-top: 50px;
    text-align: left;
    margin-left: 250px;
}

.info-item {
    margin-bottom: 28px;
}

.info-label {
    display: block;
    margin-bottom: 4px;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
    margin-right: 390px;
    color: #fff;
    font-family: 'DINPro-Regular';
}

.info-line {
    height: 2px;
    background-color: #202020;
    max-width: 160px;
    transition: background-color 0.6s ease;
}

.info-line.active {
    background-color: #9900ff;
}

.inputs-container {
    margin-top: -333px;
    margin-left: 420px;
    width: 37%;
    position: relative;
}

.inputs-container input {
    display: block;
    width: 76%;
    height: 20px;
    margin-bottom: 13px;
    padding: 10px;
    padding-right: 100px;
    border-radius: 5px;
    background-color: #272727;
    outline: none;
    border: none;
    color: #fff;
    position: relative;
    font-size: 12px;
}

.inputs-container input::placeholder {
    color: #fff;
    font-size: 12px;
    font-family: 'DINPro-Regular';
}

.optional {
    padding-right: 80px;
}

.optional::after {
    content: '(opcional)';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 12px;
}

.circles-container {
    position: absolute;
    top: 50%;
    left: 92%;
    transform: translate(10%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.circle {
    width: 80px;
    height: 80px;
    background-color: #0f0f0f;
    border-radius: 50%;
    margin: 10px 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    position: relative;
    border: 10px solid #272727;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 36px;
    color: #fff;
    font-weight: bold;
    transition: border-color 0.5s ease;
}

.form-login .circle-1 {
    border-color: #9d24fa;
}

.form-login .circle-2 {
    border-color: #272727;
}

.form-login .circle-3 {
    border-color: #272727;
}

.form-register .circle-1 {
    border-color: #9d24fa;
}

.form-register .circle-2 {
    border-color: #9d24fa;
}

.form-register .circle-3 {
    border-color: #272727;
}

.form-resgate .circle-1 {
    border-color: #9d24fa;
}

.form-resgate .circle-2 {
    border-color: #9d24fa;
}

.form-resgate .circle-3 {
    border-color: #9d24fa;
}

.buttons-container {
    margin-top: 20px;
    margin-left: 184px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn {
    background-color: #9d24fa;
    border: none;
    font-family: 'DINPro-Regular';
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    width: 140px;
    text-align: center;
    outline: none;
}

.btn-back {
    background-color: #1e1e1e;
    color: #383838;
    outline: none;
}

.btn-back:hover {
    background-color: #6f1d8d;
    color: #fff;
}

.btn:hover {
    background-color: #9d24fa;
}

.login-form, .register-form {
    display: none;
}

.login-form.active, .register-form.active {
    display: block;
}

input {
    display: block;
    margin-bottom: 10px;
    padding: 10px;
    width: 100%;
}

input[type="email"], input[type="password"] {
    background-color: #272727;
    border: none;
    color: #fff;
    border-radius: 5px;
    font-size: 14px;
}

input::placeholder {
    color: #fff;
    font-size: 12px;
}

.btn {
    background-color: #9d24fa;
    border: none;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    width: 140px;
    text-align: center;
}

.btn-login {
    background-color: #007bff;
}

.btn-back {
    background-color: #1e1e1e;
    color: #383838;
}

.btn-back:hover {
    background-color: #9d24fa;
    color: #fff;
}

.btn:hover {
    background-color: #8f00fc;
}

.container-loading {
    position: relative;
    margin: 0 auto;
    width: 85px;
    height: 85px;
    margin-top: 100px;
    margin-left: 60%;
    transition: transform 0.4s ease 0.4s;
    display: block;
}

.verificando {
    position: absolute;
    top: 100px;
    left: 52%;
    transform: translateX(-50%);
    font-size: 14px;
    color: #333;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 1;
}

.loading, #successAnimation {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 0;
}

.loading {
    border: 3px solid #181818;
    border-top: 3px solid #222222;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#successAnimation {
    display: none;
    animation: scaleAnimation 1s ease-out both;
}

@keyframes scaleAnimation {
    0% {
        opacity: 0;
        transform: scale(1.0);
    }
    100% {
        opacity: 1;
        transform: scale(1.5);
    }
}

@keyframes drawCircle {
    0% {
        stroke-dashoffset: 151px;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes drawCheck {
    0% {
        stroke-dashoffset: 36px;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

#successAnimationCircle {
    stroke-dasharray: 151px 151px;
    stroke: #FFF;
}

#successAnimationCheck {
    stroke-dasharray: 36px 36px;
    stroke: #FFF;
}

#successAnimationResult {
    fill: #FFF;
    opacity: 0;
}

#successAnimation.animated {
    animation: scaleAnimation 1s ease-out both;
}

#successAnimationCircle.animated {
    animation: 1s cubic-bezier(0.77, 0, 0.175, 1) 0s 1 both drawCircle,
               0.3s linear 0.9s 1 both fadeOut;
}

#successAnimationCheck.animated {
    animation: 1s cubic-bezier(0.77, 0, 0.175, 1) 0s 1 both drawCheck,
               0.3s linear 0.9s 1 both fadeOut;
}

#successAnimationResult.animated {
    animation: 0.3s linear 0.9s both fadeIn;
}

.extra-inputs {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease 0.5s, transform 0.5s ease 0.5s;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    margin-left: 47%;
}

.input-icon-container {
    position: relative;
    width: 100%;
}

.input-icon-container i {
    position: absolute;
    left: 10px;
    top: 43%;
    transform: translateY(-50%);
    color: #fff;
}

.extra-inputs input {
    width: 100%;
    padding: 10px 10px 10px 35px;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
    outline: none;
    border: none;
    background-color: #272727;
    color: #fff;
    font-family: 'DINPro-Regular';
}

.extra-inputs.visible {
    opacity: 1;
    transform: translateY(0);
    display: flex;
}

.button-container {
    display: flex;
    gap: 10px;
}

.button-container .btn {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #9d24fa;
    color: white;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    outline: none;
}

.button-container .btn:hover {
    background-color: #6107a7;
}

.resgate-form {
    display: none;
}

.resgate-form.active {
    display: block;
}

.message-box {
    background-color: #272727;
    padding: 10px;
    margin: 10px 0;
    font-size: 14px;
    color: #fff;
    font-weight: bold;
    text-align: center;
    border-radius: 5px;
    width: 320px;
    height: 19px;
    left: 43%;
    top: 40px;
    position: absolute;
}

.image-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 400px;
}

.arrow-button {
    background-color: #333;
    color: #fff;
    border: none;
    padding: 10px;
    font-size: 20px;
    cursor: pointer;
    border-radius: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    top: 160px;
    left: 13%;
    transition: background-color 0.3s, box-shadow 0.3s;
    overflow: hidden;
    outline: none;
}

.arrow-button:hover {
    background-color: #555;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.dynamic-image {
    display: block;
    width: 35%;
    height: auto;
    margin: 10px 0;
    border-radius: 5px;
    position: absolute;
    left: 45%;
    top: 25%;
}

.vehicle-name {
    position: absolute;
    top: 100px;
    left: 64%;
    transform: translateX(-50%);
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    padding: 5px;
    border-radius: 5px;
    text-align: center;
}

.resgate-button {
    position: relative;
    margin-top: 35%;
    margin-left: 29%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #9d24fa;
    color: white;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    outline: none;
}

.resgate-button:hover {
    background-color: #6107a7;
}

.slide-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.slide-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-out {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.slide-out.hidden {
    opacity: 0;
    transform: translateY(20px);
}

.alert-box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #101010;
    color: #fff;
    padding: 20px;
    border-radius: 5px;
    display: none;
    width: 300px;
    z-index: 1001;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.alert-box.show {
    display: block;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.background-alert {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    display: none;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.background-alert.show {
    display: block;
    opacity: 1;
}

.alert-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-family: 'DINPro-Regular';
}

.error-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.alert-box.show .error-icon {
    opacity: 1;
    transform: scale(1);
}

.alert-box header {
    font-size: 25px;
    font-weight: bold;
    margin: 10px 0;
    font-family: 'DINPro-Regular';
}

.alert-box p {
    font-size: 16px;
    margin-bottom: 20px;
}

.alert-box .btns {
    margin-top: 20px;
}

.alert-box .btns button {
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 13px;
    cursor: pointer;
    background: transparent;
    transition: color 0.3s ease;
    font-family: 'DINPro-Regular';
    outline: none;
}

.alert-box .btns button:hover {
    color: #a202ff;
}

.background-image.visible {
    opacity: 1;
    display: block;
}

.background-image {
    position: relative;
    width: 100%;
    height: 100%;
    background: url('imagens/background2.jpg') no-repeat center center fixed;
    background-size: cover;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    transition: opacity 0.5s ease;
    opacity: 0;
    display: none;
}

.content-spawn {
    max-width: 600px;
    position: relative;
    color: #fff;
    text-align: left;
    margin-bottom: 0px;
	margin-top: 180px;
}

h1 {
    font-size: 0.6rem;
    margin-bottom: -2px;
    font-family: 'Roboto', sans-serif;
    color: #9b9b9b;
}

.union-roleplay {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    font-family: "Monument Extended Regular";
    background: linear-gradient(90deg, rgba(195, 0, 255, 1) 0%, rgba(129, 0, 255, 1) 70%);
    -webkit-background-clip: text;
    color: transparent;
    padding: 5px;
    border-radius: 5px;
}

.union-roleplay span {
    margin-right: 10px;
}

.union-roleplay i {
    margin-left: 5px;
}

.box-spawn {
    width: 270px;
    height: 225px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #9b9b9b;
    padding: 20px;
    border-radius: 8px;
    font-family: 'DINPro-Regular';
    font-size: 1rem;
    overflow-y: auto;
    margin-bottom: -7px;
}

.box-spawn ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.box-spawn li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.box-spawn .spawn-label {
    background-color: #c300ff;
    padding: 3px 5px;
    border-radius: 4px;
    color: #fff;
}

.info-box {
    width: 270px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px;
    border-radius: 8px;
    font-family: 'DINPro-Regular';
    font-size: 1rem;
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-box .info-content {
    display: flex;
    align-items: center;
}

.info-box i {
    font-size: 1.2rem;
    color: #c300ff;
    margin-right: 10px;
}

.info-box span {
    margin-right: 10px;
    color: #9b9b9b;
}

.info-box .info-value {
    font-weight: bold;
}

.selection-info {
    margin-top: 20px;
    color: #fff;
    font-family: 'DINPro-Regular';
}

.selection-info h2 {
    font-size: 0.7rem;
    font-family: 'Roboto', sans-serif;
    color: #9b9b9b;
    margin-bottom: 1px;
}

.spawn-action {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.spawn-action span {
    margin-right: 10px;
    font-size: 1.2rem;
    font-family: "Monument Extended Regular";
    background: linear-gradient(90deg, rgba(195, 0, 255, 1) 0%, rgba(129, 0, 255, 1) 70%);
    -webkit-background-clip: text;
    color: transparent;
}

.spawn-action i {
    font-size: 1.1rem;
    color: #c300ff;
}

.buttons-container-wrapper {
    position: relative;
    bottom: 0;
    left: 40%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 10px;
}

.buttons-container {
    display: flex;
    gap: 20px;
}

.action-button {
    background-color: rgba(0, 0, 0, 0.5);
    color: #9b9b9b;
    border: 1px solid #191919;
    border-radius: 4px;
    padding: 10px 15px;
    font-size: 0.9rem;
    font-family: 'DINPro-Regular';
    cursor: pointer;
    width: 180px;
    transition: background-color 0.3s;
    outline: none;
}

.action-button:hover {
    background-color: rgba(195, 0, 255, 1);
    color: #fff;
}

.fixed-buttons {
    position: fixed;
    top: 30%;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.fixed-button {
    background-color: rgba(0, 0, 0, 0.5);
    color: #9b9b9b;
    border: 1px solid #191919;
    border-radius: 4px;
    padding: 10px 15px;
    font-size: 0.9rem;
    font-family: 'DINPro-Regular';
    cursor: pointer;
    width: 180px;
    text-align: center;
    transition: background-color 0.3s;
    outline: none;
}

.fixed-button:hover {
    background-color: rgba(195, 0, 255, 1);
    color: #fff;
}

.info-list {
    position: fixed;
    top: 47%;
    right: 20px;
    width: 180px;
    height: 220px;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border: 1px solid #191919;
    border-radius: 4px;
    color: #9b9b9b;
    font-family: 'DINPro-Regular';
    font-size: 0.6rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.info-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.spawn-info-item {
    background-color: #c300ff;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    margin-right: 10px;
}