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

body {
    font-family: Arial, sans-serif;
    background-color: #f5f8fa;
    color: #003366;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100dvh;
    margin: 0;
}

.container {
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    overflow-x: hidden;
}

@media (max-width: 576px) {
    .container {

        padding-top: 100px;
        max-width: auto;
        overflow-x: hidden;
    }
}

h1 {
    color: #00B2FF;
    text-align: center;
    font-weight: 500;
}

label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
}

input[type="text"] {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border-radius: 6px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

button {
    margin-top: 10px;
    padding: 8px;
    background-color: #003366;
    color: #ffffff;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background-color: #00B2FF;
    color: #003366;
}

.result-area {
    display: flex;
    gap: 8px;
    align-items: center;
}

label[for="resultUrl"] {
  display: inline-block;
  white-space: nowrap; /* impede quebra entre palavras */
}


#resultUrl {
    margin-top: 10px;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    width: 100%;
    background-color: #e6f2ff;
    color: #003366;
    font-weight: 500;
}

.input-group {
    position: relative;
    margin-bottom: 22px;
    width: 100%;
}

.input-group input {
    width: 100%;
    padding: 14px 12px;
    font-size: 16px;
    border: 1px solid #ccd6eb;
    border-radius: 8px;
    box-sizing: border-box;
    background-color: #fff;
}

.input-group label {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
    background-color: #f0f4f8;
    padding: 0 4px;
    transition: 0.2s all;
    pointer-events: none;
}

.input-group input:focus+label,
.input-group input:not(:placeholder-shown)+label {
    top: -8px;
    font-size: 13px;
    color: #0072ce;
}

/* === LINHA DE INPUTS === */
.input-row {
    display: flex;
    flex-wrap: wrap;
    /* <-- permite quebrar os elementos */
    gap: 16px;
    margin-bottom: 10px;
    width: 100%;
}

.input-extra {
    flex: 1 1 260px;
    /* base de 260px, mas flexível */
    min-width: 220px;
}

.input-extra select {
    width: 100%;
    padding: 14px 12px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #ccd6eb;
    background-color: #fff;
}

.copyright {

    text-align: center;
    margin-top: 15px; 
    font-weight: 500;
    width: 100%;
}

@media (max-width:768px){

    .copyright{
        text-align: center;
        margin-top: 15px; 
        font-weight: 500;
        width: 100%;
    }
}