* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    font-family: 'Montserrat', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 100vh;
    padding: 20px;
    line-height: 1.8;
}

.card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    max-width: 400px;
    width: 100%;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.card h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 600;
    letter-spacing: 1px;
}

.input-text {

    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    color: #333;
    height: 40px;
    transition: all 0.2s ease;
}

.input-text2 {
    flex: 1;
    min-width: 0;
    padding: 10px;
    border: none;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    background: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    color: #333;
    height: 40px;
    width: 100%;
}

.label-floating {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    padding: 0 4px;
    color: #aaa;
    transition: all 0.2s ease;
    pointer-events: none;
    z-index: 1;
}

.input-text:focus+.label-floating,
.input-text2:focus+.label-floating {
    top: 0;
    transform: translateY(-100%);
    font-size: 0.75rem;
    color: #ff7e67;
}

/* mantém a label flutuando quando o input NÃO está vazio */
.input-text:not(:placeholder-shown)+.label-floating,
.input-text2:not(:placeholder-shown)+.label-floating {
    top: 0;
    transform: translateY(-100%);
    font-size: 0.75rem;
    color: #ff7e67;
}

.group-floating {
    position: relative;
    margin-bottom: 1.5rem;
    width: 100%;
}

.group-floating-inline {
    display: flex;
    margin-bottom: 1.5rem;
}

.group-floating-inline2 {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    width: 100%;
    margin-bottom: 1.5rem;
}

.input-container {
    flex: 2;
    position: relative;
}

.input-inline {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.select-inline {
    /* Remove o estilo padrão do sistema */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    flex: 1;
    padding: 10px;
    border: none;
    border-top-left-radius: 0px !important;
    border-bottom-left-radius: 0px !important;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    background: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    color: #333;
    height: 40px;
    transition: all 0.2s ease;
    width : 100%;
}

.select-inline:focus {
    /* Remove qualquer estilo nativo do sistema */
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;

    /* Zera TODO border-radius — inclusive os vendor-specific */
    border-radius: 0 !important;
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;

    appearance: none;
    outline: 2px solid #ff7e67;
    outline-offset: 2px;
    width : 100%;
}

button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: #ff7e67;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 10px;
}

button:hover {
    background: #ff6a50;
    transform: scale(1.02);
}

.result {
    margin-top: 20px;
    padding: 15px;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    border-top-left-radius: 0px !important;
    border-bottom-left-radius: 0px !important;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

@media (max-width: 480px) {
    .card {
        padding: 20px;
    }

    .card h1 {
        font-size: 1.5rem;
    }

    .group-floating-inline {
        flex-direction: column;
    }

    .input-inline {

        border-top-left-radius: 0 !important;
        border-bottom-left-radius: 0 !important;
        border-top-right-radius: 8px;
        border-bottom-right-radius: 8px;
        margin-bottom: 0.5rem;
    }

    .select-inline {
        /* Remove o estilo padrão do sistema */
        /* Remove qualquer estilo nativo do sistema */
        -webkit-appearance: none !important;
        -moz-appearance: none !important;
        appearance: none !important;

        /* Zera TODO border-radius — inclusive os vendor-specific */
        border-radius: 0 !important;
        -webkit-border-radius: 0 !important;
        -moz-border-radius: 0 !important;
        border-top-left-radius: 0px !important;
        border-bottom-left-radius: 0px !important;
        border-top-right-radius: 8px;
        border-bottom-right-radius: 8px;

        width : 100%;
    }
}

.site-footer {
    background: #f8f8f8;
    padding: 1rem 0;
    font-size: .9rem;
    color: #555;
}

.site-footer .container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.footer-nav a {
    margin-right: 1rem;
    text-decoration: none;
    color: inherit;
}

.footer-nav a:last-child {
    margin-right: 0;
}

.footer-nav a:hover {
    text-decoration: underline;
}