
/* URL Encoder & Decoder - Page Specific Styles */

.url-editor {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.url-editor .editor-panel {
    min-width: 0;
}

.url-editor-heading {
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 700;
}

.url-editor textarea {
    min-height: 250px;
    /* margin: 0; */
}

#url-output {
    background: #f2f5fa;
}

#url-status {
    margin-top: 16px;
    margin-bottom: 0;
}

#encode-btn,
#decode-btn {
    min-width: 76px;
}

#encode-btn.active,
#decode-btn.active {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
}

@media (max-width: 640px) {
    .url-editor {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .url-editor textarea {
        min-height: 190px;
    }

    .workspace-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .action-row {
        gap: 12px;
    }

    #swap-btn {
        width: 100%;
    }
}
