.atrn-converter {
    max-width: 100%;
    padding: 30px;
    border-radius: 20px;
    background-color: #eef2ff;
    color: #000;
    box-sizing: border-box;
}

.atrn-converter *,
.atrn-converter *::before,
.atrn-converter *::after {
    box-sizing: border-box;
}

.atrn-label h3 {
    text-align: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 15px 0 0;
}

.atrn-input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 2px solid #000 !important;
    border-radius: 7px !important;
    background: #fff !important;
    color: #000;
    font-size: 1.5rem;
}

.atrn-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 5px;
}

.atrn-button {
    display: inline-block;
    padding: 15px 30px;
    border: 0;
    border-radius: 7px;
    background: #4f46e5;
    color: #fff;
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1.2;
}

.atrn-button:hover,
.atrn-button:focus {
    background: #4338ca;
}

.atrn-error {
    color: #c00;
    margin: 5px 0;
    font-weight: 600;
}

.atrn-result {
    margin: 10px 0;
    font-weight: 700;
    font-size: 1.5rem;
}

.atrn-copy-btn {
    display: inline-block;
    margin-left: 6px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #1d4ed8;
    cursor: pointer;
    font: inherit;
    font-size: 0.95rem;
    text-decoration: underline;
}

.atrn-copy-btn:hover,
.atrn-copy-btn:focus,
.atrn-copy-btn:active {
    background: transparent !important;
    background-color: transparent !important;
    color: #1e40af;
    box-shadow: none !important;
    outline: none;
}

.atrn-results {
    min-height: /*80px !important*/;
}

.atrn-results {
    /*display: none;*/
}

.atrn-results.atrn-results-visible {
    display: block;
}

@media (max-width: 600px) {
    .atrn-converter {
        padding: 20px;
    }

    .atrn-label h3,
    .atrn-input,
    .atrn-result {
        font-size: 1.25rem;
    }

    .atrn-actions {
        flex-direction: column;
    }

    .atrn-button {
        width: 100%;
    }
}