:root {
    --accent: #25D366;
    --bg: #f6f7fb;
    --card: #fff;
    --muted: #666
}

* {
    box-sizing: border-box
}

body {
    font-family: Arial, sans-serif;
    background: var(--bg);
    color: #111;
    margin: 0;
    padding: 24px;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.wrap {
    width: 95%;
    height: auto;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 30px;
}

header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    flex-direction: column;
}

h1 {
    font-size: 20px;
    margin: 0
}

p.lead {
    margin: 0;
    color: var(--muted)
}

.card {
    background: var(--card);
    padding: 18px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(12, 20, 40, 0.06);
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    width: 80%;
    height: auto;
}

.card>div {
    width: 100%;
}

.row {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap
}

.row>div{
    width: 80%;
    width: auto;
    display: flex;
    justify-content: flex-start;
    gap: 5%;
}


label {
    font-size: 13px;
    color: var(--muted);
    display: block;
    margin-bottom: 6px
}

input[type="text"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #e6e9ef;
    border-radius: 8px;
    font-size: 15px
}

input.small {
    width: 80px
}

.controls {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap
}

button {
    background: var(--accent);
    color: white;
    padding: 2%;
    border: 0;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

button:hover {
    transform: scale(1.1);
}

button.secondary {
    background: #eee;
    color: #111
}

#message {
    overflow-x: hidden;
    resize: none;
}

.output {
    display: none;
    gap: 5%;
    margin-top: 14px;
    align-items: center;
    width: 100% !important;
    height: auto;
    padding: 2%;
    border-radius: 8px;
    border: 1px dashed #e0e4ef;
    background-color: #fbfcff;
}

.output_link>div {
    width: 100% !important;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.left_linkbox,
.right_linkbox {
    width: 45%;
    height: auto;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: flex-start;
    text-align: center;
    align-items: center;
}

.output h3 {
    font-size: 1.0rem;
    margin: 0;
}

.output a {
    padding: 5%;
    background-color: #25D366;
}

#downloadLinkQr{
    padding: 2%;
    background-color: rgb(69, 69, 237);
}

.output a, #downloadLinkQr {
    transition: opacity 0.5s ease, transform 0.5s ease;
    border-radius: 10px;
    text-decoration: none;
    color: #fbfcff;
    font-size: 0.9rem;
    font-weight: 600;
}

.left_linkbox>div {
    display: flex;
    gap: 20%;
}

.output a:hover,
#downloadLinkQr:hover {
    transform: scale(1.1);
}

#waLink {
    text-decoration-line: underline;
}

.qr-image {
    width: 60%;
}

#linkQrBox {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

#linkQr {
    width: 60%;
}

.qrWrap {
    text-align: center
}

#genLinkQr {
    background-color: rgb(69, 69, 237);
}

.qr {
    width: 200px;
    height: 200px;
    border-radius: 8px;
    border: 1px solid #e9edf5;
    background: white;
    display: block;
    margin: auto;
}

