/* =========================================================
   GERADOR DE LOREM IPSUM
   Estilos exclusivos da ferramenta
   ========================================================= */


/* =========================================================
   ÁREA PRINCIPAL
   ========================================================= */

.lorem-generator-tool {

    max-width: 900px;

    margin: 0 auto;

}



/* =========================================================
   INTRODUÇÃO DA FERRAMENTA
   ========================================================= */

.lorem-tool-intro {

    margin-bottom: 28px;

}


.lorem-tool-intro h2 {

    margin: 0 0 8px;

    font-size: 1.45rem;

    color: #0f172a;

}


.lorem-tool-intro p {

    margin: 0;

    color: #64748b;

    line-height: 1.6;

}



/* =========================================================
   ORIENTAÇÃO
   ========================================================= */

.lorem-orientation .tool-info {

    max-width: 1000px;

}


.lorem-steps {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;

    margin-top: 25px;

}


.lorem-step {

    display: flex;

    align-items: flex-start;

    gap: 14px;

    padding: 18px;

    border: 1px solid #e2e8f0;

    border-radius: 12px;

    background: #ffffff;

}


.lorem-step-number {

    display: flex;

    align-items: center;

    justify-content: center;

    flex: 0 0 34px;

    width: 34px;

    height: 34px;

    border-radius: 50%;

    background: #2563eb;

    color: #ffffff;

    font-size: 0.9rem;

    font-weight: 700;

}


.lorem-step h3 {

    margin: 2px 0 6px;

    color: #0f172a;

    font-size: 1rem;

}


.lorem-step p {

    margin: 0;

    color: #64748b;

    font-size: 0.92rem;

    line-height: 1.55;

}



/* =========================================================
   CONFIGURAÇÕES
   ========================================================= */

.lorem-settings {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 22px 24px;

    margin-bottom: 28px;

}


.lorem-field label {

    display: block;

    margin-bottom: 8px;

    color: #1e293b;

    font-weight: 600;

}


.lorem-field input,
.lorem-field select {

    width: 100%;

    min-height: 46px;

    box-sizing: border-box;

    padding: 10px 12px;

    border: 1px solid #e2e8f0;

    border-radius: 8px;

    background: #ffffff;

    color: #1e293b;

    font-family: inherit;

    font-size: 0.95rem;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;

}


.lorem-field input:focus,
.lorem-field select:focus {

    outline: none;

    border-color: #2563eb;

    box-shadow:
        0 0 0 3px
        rgba(37, 99, 235, 0.12);

}


.lorem-field small {

    display: block;

    margin-top: 6px;

    color: #64748b;

    font-size: 0.8rem;

    line-height: 1.4;

}



/* =========================================================
   CHECKBOX
   ========================================================= */

.lorem-option {

    grid-column: 1 / -1;

    display: flex;

    align-items: center;

    gap: 10px;

    margin-top: 2px;

    color: #334155;

    font-size: 0.92rem;

    cursor: pointer;

}


.lorem-option input {

    width: 17px;

    height: 17px;

    margin: 0;

    accent-color: #2563eb;

    cursor: pointer;

}



/* =========================================================
   AÇÕES
   ========================================================= */

.lorem-actions {

    display: flex;

    flex-wrap: wrap;

    gap: 10px;

}


.lorem-actions button {

    min-height: 44px;

    padding: 10px 20px;

}



/* =========================================================
   RESULTADO
   ========================================================= */

.lorem-result {

    margin-top: 35px;

    padding-top: 30px;

    border-top: 1px solid #e2e8f0;

}


.lorem-result-header {

    margin-bottom: 18px;

}


.lorem-result-header h2 {

    margin: 0 0 7px;

    color: #0f172a;

    font-size: 1.4rem;

}


.lorem-result-header p {

    margin: 0;

    color: #64748b;

    line-height: 1.55;

}



/* =========================================================
   ÁREA DE TEXTO
   ========================================================= */

.lorem-output {

    min-height: 280px;

    padding: 22px;

    box-sizing: border-box;

    border: 1px solid #e2e8f0;

    border-radius: 10px;

    background: #ffffff;

    color: #1e293b;

    line-height: 1.75;

    font-size: 1rem;

    overflow-wrap: break-word;

    box-shadow:
        0 2px 8px
        rgba(15, 23, 42, 0.04);

}


.lorem-output p {

    margin: 0 0 1em;

}


.lorem-output p:last-child {

    margin-bottom: 0;

}



/* =========================================================
   ESTATÍSTICAS
   ========================================================= */

.lorem-stats {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 14px;

}


.lorem-stat {

    display: inline-flex;

    align-items: baseline;

    gap: 5px;

    padding: 8px 12px;

    border: 1px solid #e2e8f0;

    border-radius: 8px;

    background: #f8fafc;

    color: #64748b;

    font-size: 0.86rem;

}


.lorem-stat strong {

    color: #0f172a;

    font-size: 0.95rem;

}



/* =========================================================
   AVISO DO RESULTADO
   ========================================================= */

.lorem-result .lorem-notice {

    margin-top: 22px;

}



/* =========================================================
   INFORMAÇÕES
   ========================================================= */

.lorem-info-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 30px;

}


.lorem-info-grid .tool-info {

    height: 100%;

    box-sizing: border-box;

}


.lorem-important {

    margin-top: 30px;

}


.lorem-important h2 {

    margin-top: 0;

}



/* =========================================================
   RESPONSIVIDADE
   ========================================================= */

@media (max-width: 900px) {

    .lorem-steps {

        grid-template-columns: 1fr;

    }


    .lorem-settings {

        grid-template-columns:
            repeat(2, 1fr);

    }

}


@media (max-width: 700px) {

    .lorem-settings {

        grid-template-columns: 1fr;

    }


    .lorem-info-grid {

        grid-template-columns: 1fr;

        gap: 20px;

    }


    .lorem-output {

        min-height: 240px;

    }

}


@media (max-width: 600px) {

    .lorem-actions {

        flex-direction: column;

    }


    .lorem-actions button {

        width: 100%;

    }


    .lorem-output {

        min-height: 220px;

        padding: 16px;

        font-size: 0.95rem;

    }


    .lorem-stats {

        display: grid;

        grid-template-columns: 1fr;

    }


    .lorem-stat {

        justify-content: center;

    }


    .lorem-step {

        padding: 16px;

    }

}