@import url('https://fonts.googleapis.com/css2?family=Telex&display=swap');
* {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-image: url('../../../assets/img/background.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    overflow-y: overlay;
}

.page-wrapper {
    min-height: 100vdh;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-header {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	padding: 5px 0;
  margin: 0 auto;
	width: 1200px;
}

.main-header .container {
	width: 100%;
}

.icons-wrapper img {
	width: 100%;
	height: 48px;
	transition: transform 0.2s, filter 0.2s;
}

.icons-wrapper img:hover {
	transform: translateY(-5px);
	filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.2));
	cursor: pointer;
}

.logo {
	width: auto;
	height: 80px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.app-container {
    flex: 1;
    max-width: 800px;
    width: 80vw;
    margin: 0 auto;
    padding: 30px;
    background: #1a1a1a55;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    margin-top: 50px;
    margin-bottom: 50px;
    backdrop-filter: blur(0px)
}

.back-link {
    display: inline-block;
    margin-bottom: 20px;
    color: #4DFF63;
    text-decoration: none;
}

.back-link:hover {
    text-decoration: none;
    opacity: 0.8;
}

h1 {
    text-align: center;
    color: #ffffff;
    margin-top: 0;
    font-family: "Telex", sans-serif;
}

#qrcode-form {
    width: 100%;
    margin: 0 auto;
}

#qrcode-form textarea {
    width: 100%;
    margin: 0 auto;
}

#qrcode-form p, #qrcode-form label {
    color: #ffffff;
}

textarea {
    width: 100%;
    height: 300px;
    margin: 10px 0;
    padding: 10px;
    background: #1a1a1a99;
    border: 1px solid #4DFF63;
    border-radius: 4px;
    resize: none;
    color: #ffffff;
    box-sizing: border-box;
}

textarea:focus {
    outline: none;
    border-color: #45e659;

    box-shadow: 0 0 5px rgba(77, 255, 99, 0.5);
}


::-webkit-scrollbar {
    width: 16px;
}


::-webkit-scrollbar-track {
    background: transparent !important;
    border-radius: 4px;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0);
    border-radius: 4px;
}

::-webkit-scrollbar-track-piece {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #4DFF63;
    border-radius: 4px;
}


::-webkit-scrollbar-thumb:hover {
    background: #45e659;
}


* {
    scrollbar-width: auto;  /* "auto" ou "thin" */
    scrollbar-color: #4DFF63 #000000;  /* polegar e trilho */
}

textarea::-webkit-scrollbar {
    width: 14px;
}

textarea::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0);
    border-radius: 4px;
}

textarea::-webkit-scrollbar-thumb {
    background: #4DFF63;
    border-radius: 4px;
}

textarea::-webkit-scrollbar-thumb:hover {
    background: #45e659;
}

textarea {
    scrollbar-width: auto;
    scrollbar-color: #4DFF63 #1a1a1a00;
}


.options {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    text-align: center;
}

.options select {
    width: 100px;
    height: 40px;
    padding: 8px;
    margin: 0 10px;
    background: #1a1a1a99;
    border: 1px solid #4DFF63;
    border-radius: 4px;
    color: #ffffff;
}

button {
    width: 200px;
    background-color: #4DFF63;
    color: #000000;
    padding: 13px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: block;
    font-weight: bold;
    transition: transform 0.2s, box-shadow 0.2s;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
    background-color: #45e659;
}

#qrcode {
    margin-top: 30px;
    text-align: center;
    background: #ffffff33;
    padding: 20px;
    border-radius: 4px;
}

.download-btn {
    background-color: #4DFF63;
    color: #000000;
    padding: 13px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 15px;
    display: inline-block;
    font-weight: bold;
    transition: transform 0.2s, box-shadow 0.2s;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
    background-color: #45e659;
}

#qr-image {
    margin: 0 auto;
    border-radius: 4px;
    background-color: #ffffff;
    padding: 30px;
}

#qr-image img {
    width: 50%;
}

#qrcode svg {
    width: 50%;
    height: 50%;
    preserveAspectRatio: xMidYMid meet;
}

.footer-bar {
    background-color: #000000;
    padding: 20px 0;
    width: 100%;
    box-shadow: 0 -2px 4px rgba(0,0,0,0.1);
}

.footer-bar section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-bar-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
}

.footer-bar-links a {
    color: #4DFF63;
    text-decoration: none;
}

.footer-bar-links a:hover {
    opacity: 0.8;
}

.copyright {
    font-size: 0.9em;
}

.plataformajota {
    font-size: 0.9em;
}

@media screen and (max-width: 767px) {
    .options .option-wrapper {
        display: flex;
        flex-direction: row;
        align-items: center;
    }
    .options {
        flex-direction: column;
        gap: 20px
    }

    .options select {
        width: 100%;
    }
}
